<?xml version="1.0" encoding="utf-8"?>
<orm:MappingRoot MapDataStructure="Administration" TransactionType="ADONET" Namespace="Acom.AppOrganization" TransactionForRetrieve="false" RetrievePattern="Select_[Object]" SetSelectPattern="SelectAll_[Object]" CreatePattern="Insert_[Object]" UpdatePattern="Update_[Object]" DeletePattern="Delete_[Object]" Generate="CRUDS" CollectionType="Plural" xmlns:orm="http://kadgen.com/KADORM.xsd">
  <orm:SQLFunctionReplacement>
    <orm:SQLFunction Name="getdate" ReplaceWith="System.DateTime.Today" NETType="System.DateTime" />
  </orm:SQLFunctionReplacement>
  <orm:UniqueNamespaces />
  <orm:Build MapDataStructure="Administration" Name="ACom.AppOrganization" xmlns="" xmlns:kd="http://kadgen.com/Special.xsd">
    <orm:SPSet Name="StringValue" ObjectName="StringValue" TableName="StringValue" OriginalName="StringValue" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="StringValueGuid" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@StringValueGuid=[StringValue].[StringValueGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="StringLogicalLocation">
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Application">
          <orm:ForeignKey ChildColumn="ApplicationGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="ApplicationGuid" ParentColumn="ApplicationGuid" ParentTable="Application" ParentObject="Application" ParentProperty="ApplicationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Culture">
          <orm:ForeignKey ChildColumn="CultureGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="CultureGuid" ParentColumn="CultureGuid" ParentTable="Culture" ParentObject="Culture" ParentProperty="CultureGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="ResourceGenerationLocation">
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringLogicalLocation" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLocation" ParentObject="ResourceGenerationLocation" ParentProperty="StringLogicalLocationGuid" Ordinal="0" />
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringValue" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" Ordinal="1" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="StringValue" Schema="dbo">
        <orm:SetSelectColumn Name="StringValueGuid" IsPrimaryKey="true" Column="StringValueGuid" TableName="StringValue" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="StringLogicalLocationGuid" IsPrimaryKey="false" Column="StringLogicalLocationGuid" TableName="StringValue" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="OriginalString" IsPrimaryKey="false" Column="OriginalString" TableName="StringValue" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="1" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@StringValueGuid=[StringValue].[StringValueGuid]" />
        <orm:Join Type="INNER" LeftTable="StringValue" RightTable="Culture" RightAlias="Culture" LeftOriginalName="StringValue" LeftAlias="StringValue" RightOriginalName="Culture" JoinStyle="In">
          <orm:JoinKey LeftColumn="CultureGuid" RightColumn="CultureGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringValue" OriginalName="StringValue" Name="StringValue" JoinStyle="" RightAlias="StringValue" Schema="dbo">
          <orm:BuildColumn Name="StringValueGuid" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OriginalString" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationString" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="MachineTranslated" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationSource" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationDate" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="NeedsReview" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="Culture" OriginalName="Culture" Name="Culture" JoinStyle="In" RightAlias="Culture" Schema="dbo">
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureName" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UnderlyingIdentifier" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="StringValueGuid" TableName="StringValue" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringValue" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureGuid" TableName="StringValue" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OriginalString" TableName="StringValue" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationString" TableName="StringValue" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="MachineTranslated" TableName="StringValue" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="StringValue" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationSource" TableName="StringValue" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationDate" TableName="StringValue" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="NeedsReview" TableName="StringValue" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        <orm:TableColumn Name="CultureGuid" TableName="Culture" Column="CultureGuid" Alias="Culture_CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="11" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="Culture" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="12" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureName" TableName="Culture" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UnderlyingIdentifier" TableName="Culture" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="14" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="Culture" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="15" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" IsLocalizedProperty="true" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_StringValue" Task="Create">
        <orm:RunSPParam Name="StringValueGuid" Column="StringValueGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureGuid" Column="CultureGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OriginalString" Column="OriginalString" Table="StringValue" OriginalTable="StringValue" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OrganizationString" Column="OrganizationString" Table="StringValue" OriginalTable="StringValue" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="MachineTranslated" Column="MachineTranslated" Table="StringValue" OriginalTable="StringValue" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="TranslationSource" Column="TranslationSource" Table="StringValue" OriginalTable="StringValue" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="TranslationDate" Column="TranslationDate" Table="StringValue" OriginalTable="StringValue" SQLType="datetime" NETType="System.DateTime" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="NeedsReview" Column="NeedsReview" Table="StringValue" OriginalTable="StringValue" SQLType="tinyint" NETType="System.Byte" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_StringValue" Task="Retrieve">
        <orm:RunSPParam Name="StringValueGuid" Column="StringValueGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_StringValue_By_OriginalString" Task="Retrieve" Alternate="true">
        <orm:RunSPParam Name="OriginalString" Column="OriginalString" Table="StringValue" OriginalTable="StringValue" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_StringLogicalLocation_StringValue" Task="RetrieveChild" TempParentTableName="StringLogicalLocation" TempChildTableName="StringValue" ParentObjectName="StringLogicalLocation" ForeignKeyName="StringLogicalLocation">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Application_StringValue" Task="RetrieveChild" TempParentTableName="Application" TempChildTableName="StringValue" ParentObjectName="Application" ForeignKeyName="Application">
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Culture_StringValue" Task="RetrieveChild" TempParentTableName="Culture" TempChildTableName="StringValue" ParentObjectName="Culture" ForeignKeyName="Culture">
        <orm:RunSPParam Name="CultureGuid" Column="CultureGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_ResourceGenerationLocation_StringValue" Task="RetrieveChild" TempParentTableName="ResourceGenerationLocation" TempChildTableName="StringValue" ParentObjectName="ResourceGenerationLocation" ForeignKeyName="ResourceGenerationLocation">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_StringValue" Task="Update">
        <orm:RunSPParam Name="StringValueGuid" Column="StringValueGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureGuid" Column="CultureGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OriginalString" Column="OriginalString" Table="StringValue" OriginalTable="StringValue" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OrganizationString" Column="OrganizationString" Table="StringValue" OriginalTable="StringValue" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="MachineTranslated" Column="MachineTranslated" Table="StringValue" OriginalTable="StringValue" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="TranslationSource" Column="TranslationSource" Table="StringValue" OriginalTable="StringValue" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="TranslationDate" Column="TranslationDate" Table="StringValue" OriginalTable="StringValue" SQLType="datetime" NETType="System.DateTime" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="NeedsReview" Column="NeedsReview" Table="StringValue" OriginalTable="StringValue" SQLType="tinyint" NETType="System.Byte" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_StringValue" Task="Delete">
        <orm:RunSPParam Name="StringValueGuid" Column="StringValueGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_StringValue" Task="SetSelect" />
      <orm:RunSP Name="SelectAll_StringValue_By_OriginalString" Task="SetSelect" Alternate="true">
        <orm:RunSPParam Name="OriginalString" Column="OriginalString" Table="StringValue" OriginalTable="StringValue" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_StringValue_By_CultureGuid" Task="SetSelect" Alternate="true">
        <orm:RunSPParam Name="CultureGuid" Column="CultureGuid" Table="StringValue" OriginalTable="StringValue" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
    </orm:SPSet>
    <orm:SPSet Name="Culture" ObjectName="Culture" TableName="Culture" OriginalName="Culture" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="true" OriginalName="CultureGuid" Caption="Culture" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@CultureGuid=[Culture].[CultureGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="Culture" Schema="dbo">
        <orm:SetSelectColumn Name="CultureGuid" IsPrimaryKey="true" Column="CultureGuid" TableName="Culture" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="CultureId" IsPrimaryKey="false" Column="CultureId" TableName="Culture" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="CultureName" IsPrimaryKey="false" Column="CultureName" TableName="Culture" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@CultureGuid=[Culture].[CultureGuid]" />
        <orm:BuildTable Ordinal="0" TableName="Culture" OriginalName="Culture" Name="Culture" JoinStyle="" RightAlias="Culture" Schema="dbo">
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="true" OriginalName="CultureGuid" Caption="Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureName" Column="CultureName" Alias="CultureName" UseForDesc="true" OriginalName="CultureName" Caption="Culture Name" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UnderlyingIdentifier" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" IsLocalizedProperty="true" />
        </orm:BuildTable>
        <orm:TableColumn Name="CultureGuid" TableName="Culture" Column="CultureGuid" Alias="CultureGuid" UseForDesc="true" OriginalName="CultureGuid" Caption="Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="Culture" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureName" TableName="Culture" Column="CultureName" Alias="CultureName" UseForDesc="true" OriginalName="CultureName" Caption="Culture Name" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UnderlyingIdentifier" TableName="Culture" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="Culture" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" IsLocalizedProperty="true" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="StringValue" TempTableName="StringValue" ChildFlag="1" ChildName="StringValue">
        <orm:WhereClause Clause="@CultureGuid=[StringValue].[CultureGuid]" />
        <orm:Join Type="INNER" LeftTable="StringValue" RightTable="Culture" RightAlias="Culture" LeftOriginalName="StringValue" LeftAlias="StringValue" RightOriginalName="Culture" JoinStyle="In">
          <orm:JoinKey LeftColumn="CultureGuid" RightColumn="CultureGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringValue" OriginalName="StringValue" Name="StringValue" JoinStyle="" RightAlias="StringValue" Schema="dbo">
          <orm:BuildColumn Name="StringValueGuid" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OriginalString" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationString" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="MachineTranslated" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationSource" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationDate" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="NeedsReview" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="Culture" OriginalName="Culture" Name="Culture" JoinStyle="In" RightAlias="Culture" Schema="dbo">
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureName" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UnderlyingIdentifier" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="CultureGuid" ChildTable="StringValue" ChildAlias="StringValue" ChildObject="StringValue" ChildProperty="CultureGuid" ParentColumn="CultureGuid" ParentTable="Culture" ParentAlias="Culture" ParentObject="Culture" ParentProperty="CultureGuid" />
        <orm:TableColumn Name="StringValueGuid" TableName="StringValue" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringValue" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureGuid" TableName="StringValue" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OriginalString" TableName="StringValue" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationString" TableName="StringValue" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="MachineTranslated" TableName="StringValue" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="StringValue" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationSource" TableName="StringValue" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationDate" TableName="StringValue" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="NeedsReview" TableName="StringValue" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        <orm:TableColumn Name="CultureGuid" TableName="Culture" Column="CultureGuid" Alias="Culture_CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="11" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="Culture" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="12" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureName" TableName="Culture" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UnderlyingIdentifier" TableName="Culture" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="14" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="Culture" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="15" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" IsLocalizedProperty="true" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="0" ChildSPSet="LocalizedData" TempTableName="LocalizedData" ChildFlag="2" ChildName="LocalizedData">
        <orm:WhereClause Clause="@CultureGuid=[LocalizedData].[PrimaryKeyGuid]" />
        <orm:BuildTable Ordinal="0" TableName="LocalizedData" OriginalName="LocalizedData" Name="LocalizedData" JoinStyle="" RightAlias="LocalizedData" Schema="dbo">
          <orm:BuildColumn Name="LocalizedDataGuid" Column="LocalizedDataGuid" Alias="LocalizedDataGuid" UseForDesc="true" OriginalName="LocalizedDataGuid" Caption="Localized Data" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="PrimaryKeyGuid" Column="PrimaryKeyGuid" Alias="PrimaryKeyGuid" UseForDesc="false" OriginalName="PrimaryKeyGuid" Caption="Primary Key" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TableName" Column="TableName" Alias="TableName" UseForDesc="true" OriginalName="TableName" Caption="Table Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ColumnName" Column="ColumnName" Alias="ColumnName" UseForDesc="true" OriginalName="ColumnName" Caption="Column Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Value" Column="Value" Alias="Value" UseForDesc="false" OriginalName="Value" Caption="Value" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="PrimaryKeyGuid" ChildTable="LocalizedData" ChildAlias="LocalizedData" ChildObject="LocalizedData" ChildProperty="PrimaryKeyGuid" ParentColumn="CultureGuid" ParentTable="Culture" ParentAlias="Culture" ParentObject="Culture" ParentProperty="CultureGuid" />
        <orm:TableColumn Name="LocalizedDataGuid" TableName="LocalizedData" Column="LocalizedDataGuid" Alias="LocalizedDataGuid" UseForDesc="true" OriginalName="LocalizedDataGuid" Caption="Localized Data" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="LocalizedData" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="PrimaryKeyGuid" TableName="LocalizedData" Column="PrimaryKeyGuid" Alias="PrimaryKeyGuid" UseForDesc="false" OriginalName="PrimaryKeyGuid" Caption="Primary Key" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TableName" TableName="LocalizedData" Column="TableName" Alias="TableName" UseForDesc="true" OriginalName="TableName" Caption="Table Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ColumnName" TableName="LocalizedData" Column="ColumnName" Alias="ColumnName" UseForDesc="true" OriginalName="ColumnName" Caption="Column Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Value" TableName="LocalizedData" Column="Value" Alias="Value" UseForDesc="false" OriginalName="Value" Caption="Value" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_Culture" Task="Create">
        <orm:RunSPParam Name="CultureGuid" Column="CultureGuid" Table="Culture" OriginalTable="Culture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="Culture" OriginalTable="Culture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureName" Column="CultureName" Table="Culture" OriginalTable="Culture" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="UnderlyingIdentifier" Column="UnderlyingIdentifier" Table="Culture" OriginalTable="Culture" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Description" Column="Description" Table="Culture" OriginalTable="Culture" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_Culture" Task="Retrieve">
        <orm:RunSPParam Name="CultureGuid" Column="CultureGuid" Table="Culture" OriginalTable="Culture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_Culture" Task="Update">
        <orm:RunSPParam Name="CultureGuid" Column="CultureGuid" Table="Culture" OriginalTable="Culture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="Culture" OriginalTable="Culture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureName" Column="CultureName" Table="Culture" OriginalTable="Culture" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="UnderlyingIdentifier" Column="UnderlyingIdentifier" Table="Culture" OriginalTable="Culture" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Description" Column="Description" Table="Culture" OriginalTable="Culture" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_Culture" Task="Delete">
        <orm:RunSPParam Name="CultureGuid" Column="CultureGuid" Table="Culture" OriginalTable="Culture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_Culture" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="Application" ObjectName="Application" TableName="Application" OriginalName="Application" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="true" OriginalName="ApplicationGuid" Caption="Application" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@ApplicationGuid=[Application].[ApplicationGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="Application" Schema="dbo">
        <orm:SetSelectColumn Name="ApplicationGuid" IsPrimaryKey="true" Column="ApplicationGuid" TableName="Application" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ApplicationName" IsPrimaryKey="false" Column="ApplicationName" TableName="Application" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@ApplicationGuid=[Application].[ApplicationGuid]" />
        <orm:BuildTable Ordinal="0" TableName="Application" OriginalName="Application" Name="Application" JoinStyle="" RightAlias="Application" Schema="dbo">
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="true" OriginalName="ApplicationGuid" Caption="Application" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationName" Column="ApplicationName" Alias="ApplicationName" UseForDesc="true" OriginalName="ApplicationName" Caption="Application Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="15" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="ApplicationGuid" TableName="Application" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="true" OriginalName="ApplicationGuid" Caption="Application" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Application" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationName" TableName="Application" Column="ApplicationName" Alias="ApplicationName" UseForDesc="true" OriginalName="ApplicationName" Caption="Application Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="15" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Application" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="StringValue" TempTableName="StringValue" ChildFlag="1" ChildName="StringValue">
        <orm:WhereClause Clause="@ApplicationGuid=[StringValue].[ApplicationGuid]" />
        <orm:Join Type="INNER" LeftTable="StringValue" RightTable="Culture" RightAlias="Culture" LeftOriginalName="StringValue" LeftAlias="StringValue" RightOriginalName="Culture" JoinStyle="In">
          <orm:JoinKey LeftColumn="CultureGuid" RightColumn="CultureGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringValue" OriginalName="StringValue" Name="StringValue" JoinStyle="" RightAlias="StringValue" Schema="dbo">
          <orm:BuildColumn Name="StringValueGuid" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OriginalString" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationString" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="MachineTranslated" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationSource" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationDate" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="NeedsReview" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="Culture" OriginalName="Culture" Name="Culture" JoinStyle="In" RightAlias="Culture" Schema="dbo">
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureName" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UnderlyingIdentifier" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="ApplicationGuid" ChildTable="StringValue" ChildAlias="StringValue" ChildObject="StringValue" ChildProperty="ApplicationGuid" ParentColumn="ApplicationGuid" ParentTable="Application" ParentAlias="Application" ParentObject="Application" ParentProperty="ApplicationGuid" />
        <orm:TableColumn Name="StringValueGuid" TableName="StringValue" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringValue" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureGuid" TableName="StringValue" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OriginalString" TableName="StringValue" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationString" TableName="StringValue" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="MachineTranslated" TableName="StringValue" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="StringValue" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationSource" TableName="StringValue" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationDate" TableName="StringValue" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="NeedsReview" TableName="StringValue" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        <orm:TableColumn Name="CultureGuid" TableName="Culture" Column="CultureGuid" Alias="Culture_CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="11" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="Culture" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="12" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureName" TableName="Culture" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UnderlyingIdentifier" TableName="Culture" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="14" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="Culture" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="15" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" IsLocalizedProperty="true" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="1" ChildSPSet="ResourceSet" TempTableName="ResourceSet" ChildFlag="2" ChildName="ResourceSet">
        <orm:WhereClause Clause="@ApplicationGuid=[ResourceSet].[ApplicationGuid]" />
        <orm:BuildTable Ordinal="0" TableName="ResourceSet" OriginalName="ResourceSet" Name="ResourceSet" JoinStyle="" RightAlias="ResourceSet" Schema="dbo">
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="true" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetName" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="ApplicationGuid" ChildTable="ResourceSet" ChildAlias="ResourceSet" ChildObject="ResourceSet" ChildProperty="ApplicationGuid" ParentColumn="ApplicationGuid" ParentTable="Application" ParentAlias="Application" ParentObject="Application" ParentProperty="ApplicationGuid" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="ResourceSet" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="true" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetName" TableName="ResourceSet" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="ResourceSet" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_Application" Task="Create">
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="Application" OriginalTable="Application" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ApplicationName" Column="ApplicationName" Table="Application" OriginalTable="Application" SQLType="nvarchar" NETType="System.String" MaxLength="15" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_Application" Task="Retrieve">
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="Application" OriginalTable="Application" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_Application_By_ApplicationName" Task="Retrieve" Alternate="true">
        <orm:RunSPParam Name="ApplicationName" Column="ApplicationName" Table="Application" OriginalTable="Application" SQLType="nvarchar" NETType="System.String" MaxLength="15" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_Application" Task="Update">
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="Application" OriginalTable="Application" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ApplicationName" Column="ApplicationName" Table="Application" OriginalTable="Application" SQLType="nvarchar" NETType="System.String" MaxLength="15" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_Application" Task="Delete">
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="Application" OriginalTable="Application" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_Application" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="AppModule" ObjectName="AppModule" TableName="AppModule" OriginalName="AppModule" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="ModuleGuid" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="true" OriginalName="ModuleGuid" Caption="Module" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@ModuleGuid=[AppModule].[ModuleGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Role">
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="RoleModule" ChildObject="AppModule" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="Role" ParentObject="Role" ParentProperty="RoleGuid" Ordinal="0" />
          <orm:ForeignKey ChildColumn="ModuleGuid" ChildTable="AppModule" ChildObject="AppModule" ChildProperty="ModuleGuid" ParentColumn="ModuleGuid" ParentTable="RoleModule" ParentObject="RoleModule" ParentProperty="ModuleGuid" Ordinal="1" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="AppModule" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" Ordinal="0" />
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="RoleModule" ChildObject="AppModule" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" Ordinal="1" />
          <orm:ForeignKey ChildColumn="ModuleGuid" ChildTable="AppModule" ChildObject="AppModule" ChildProperty="ModuleGuid" ParentColumn="ModuleGuid" ParentTable="RoleModule" ParentObject="RoleModule" ParentProperty="ModuleGuid" Ordinal="2" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="AppModule" Schema="dbo">
        <orm:SetSelectColumn Name="ModuleGuid" IsPrimaryKey="true" Column="ModuleGuid" TableName="AppModule" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ModuleName" IsPrimaryKey="false" Column="ModuleName" TableName="AppModule" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@ModuleGuid=[AppModule].[ModuleGuid]" />
        <orm:BuildTable Ordinal="0" TableName="AppModule" OriginalName="AppModule" Name="AppModule" JoinStyle="" RightAlias="AppModule" Schema="dbo">
          <orm:BuildColumn Name="ModuleGuid" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="true" OriginalName="ModuleGuid" Caption="Module" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ModuleName" Column="ModuleName" Alias="ModuleName" UseForDesc="true" OriginalName="ModuleName" Caption="Module Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Ordinal" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="3" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" IsLocalizedProperty="true" />
          <orm:BuildColumn Name="CaptionFr" Column="CaptionFr" Alias="CaptionFr" UseForDesc="false" OriginalName="CaptionFr" Caption="Caption Fr" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CaptionDe" Column="CaptionDe" Alias="CaptionDe" UseForDesc="false" OriginalName="CaptionDe" Caption="Caption De" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CaptionAr" Column="CaptionAr" Alias="CaptionAr" UseForDesc="false" OriginalName="CaptionAr" Caption="Caption Ar" Ordinal="7" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CaptionEs" Column="CaptionEs" Alias="CaptionEs" UseForDesc="false" OriginalName="CaptionEs" Caption="Caption Es" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption1" Column="Caption1" Alias="Caption1" UseForDesc="false" OriginalName="Caption1" Caption="Caption 1" Ordinal="9" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption2" Column="Caption2" Alias="Caption2" UseForDesc="false" OriginalName="Caption2" Caption="Caption 2" Ordinal="10" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption3" Column="Caption3" Alias="Caption3" UseForDesc="false" OriginalName="Caption3" Caption="Caption 3" Ordinal="11" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption4" Column="Caption4" Alias="Caption4" UseForDesc="false" OriginalName="Caption4" Caption="Caption 4" Ordinal="12" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption5" Column="Caption5" Alias="Caption5" UseForDesc="false" OriginalName="Caption5" Caption="Caption 5" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorR1" Column="BaseColorR1" Alias="BaseColorR1" UseForDesc="false" OriginalName="BaseColorR1" Caption="Base Color R1" Ordinal="14" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorG1" Column="BaseColorG1" Alias="BaseColorG1" UseForDesc="false" OriginalName="BaseColorG1" Caption="Base Color G1" Ordinal="15" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorB1" Column="BaseColorB1" Alias="BaseColorB1" UseForDesc="false" OriginalName="BaseColorB1" Caption="Base Color B1" Ordinal="16" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorR2" Column="BaseColorR2" Alias="BaseColorR2" UseForDesc="false" OriginalName="BaseColorR2" Caption="Base Color R2" Ordinal="17" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorG2" Column="BaseColorG2" Alias="BaseColorG2" UseForDesc="false" OriginalName="BaseColorG2" Caption="Base Color G2" Ordinal="18" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorB2" Column="BaseColorB2" Alias="BaseColorB2" UseForDesc="false" OriginalName="BaseColorB2" Caption="Base Color B2" Ordinal="19" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorR3" Column="BaseColorR3" Alias="BaseColorR3" UseForDesc="false" OriginalName="BaseColorR3" Caption="Base Color R3" Ordinal="20" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorG3" Column="BaseColorG3" Alias="BaseColorG3" UseForDesc="false" OriginalName="BaseColorG3" Caption="Base Color G3" Ordinal="21" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorB3" Column="BaseColorB3" Alias="BaseColorB3" UseForDesc="false" OriginalName="BaseColorB3" Caption="Base Color B3" Ordinal="22" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="ModuleGuid" TableName="AppModule" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="true" OriginalName="ModuleGuid" Caption="Module" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ModuleName" TableName="AppModule" Column="ModuleName" Alias="ModuleName" UseForDesc="true" OriginalName="ModuleName" Caption="Module Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Ordinal" TableName="AppModule" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="3" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption" TableName="AppModule" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" IsLocalizedProperty="true" />
        <orm:TableColumn Name="CaptionFr" TableName="AppModule" Column="CaptionFr" Alias="CaptionFr" UseForDesc="false" OriginalName="CaptionFr" Caption="Caption Fr" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CaptionDe" TableName="AppModule" Column="CaptionDe" Alias="CaptionDe" UseForDesc="false" OriginalName="CaptionDe" Caption="Caption De" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CaptionAr" TableName="AppModule" Column="CaptionAr" Alias="CaptionAr" UseForDesc="false" OriginalName="CaptionAr" Caption="Caption Ar" Ordinal="7" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CaptionEs" TableName="AppModule" Column="CaptionEs" Alias="CaptionEs" UseForDesc="false" OriginalName="CaptionEs" Caption="Caption Es" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption1" TableName="AppModule" Column="Caption1" Alias="Caption1" UseForDesc="false" OriginalName="Caption1" Caption="Caption 1" Ordinal="9" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption2" TableName="AppModule" Column="Caption2" Alias="Caption2" UseForDesc="false" OriginalName="Caption2" Caption="Caption 2" Ordinal="10" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption3" TableName="AppModule" Column="Caption3" Alias="Caption3" UseForDesc="false" OriginalName="Caption3" Caption="Caption 3" Ordinal="11" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption4" TableName="AppModule" Column="Caption4" Alias="Caption4" UseForDesc="false" OriginalName="Caption4" Caption="Caption 4" Ordinal="12" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption5" TableName="AppModule" Column="Caption5" Alias="Caption5" UseForDesc="false" OriginalName="Caption5" Caption="Caption 5" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorR1" TableName="AppModule" Column="BaseColorR1" Alias="BaseColorR1" UseForDesc="false" OriginalName="BaseColorR1" Caption="Base Color R1" Ordinal="14" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorG1" TableName="AppModule" Column="BaseColorG1" Alias="BaseColorG1" UseForDesc="false" OriginalName="BaseColorG1" Caption="Base Color G1" Ordinal="15" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorB1" TableName="AppModule" Column="BaseColorB1" Alias="BaseColorB1" UseForDesc="false" OriginalName="BaseColorB1" Caption="Base Color B1" Ordinal="16" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorR2" TableName="AppModule" Column="BaseColorR2" Alias="BaseColorR2" UseForDesc="false" OriginalName="BaseColorR2" Caption="Base Color R2" Ordinal="17" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorG2" TableName="AppModule" Column="BaseColorG2" Alias="BaseColorG2" UseForDesc="false" OriginalName="BaseColorG2" Caption="Base Color G2" Ordinal="18" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorB2" TableName="AppModule" Column="BaseColorB2" Alias="BaseColorB2" UseForDesc="false" OriginalName="BaseColorB2" Caption="Base Color B2" Ordinal="19" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorR3" TableName="AppModule" Column="BaseColorR3" Alias="BaseColorR3" UseForDesc="false" OriginalName="BaseColorR3" Caption="Base Color R3" Ordinal="20" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorG3" TableName="AppModule" Column="BaseColorG3" Alias="BaseColorG3" UseForDesc="false" OriginalName="BaseColorG3" Caption="Base Color G3" Ordinal="21" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorB3" TableName="AppModule" Column="BaseColorB3" Alias="BaseColorB3" UseForDesc="false" OriginalName="BaseColorB3" Caption="Base Color B3" Ordinal="22" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:OrderBy Name="Ordinal" Ordinal="0" SortOrder="ASC" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="MenuStructure" TempTableName="MenuStructure" ChildFlag="1" ChildName="MenuStructure">
        <orm:WhereClause Clause="@ModuleGuid=[MenuStructure].[ModuleGuid]" />
        <orm:BuildTable Ordinal="0" TableName="MenuStructure" OriginalName="MenuStructure" Name="MenuStructure" JoinStyle="" RightAlias="MenuStructure" Schema="dbo">
          <orm:BuildColumn Name="MenuGuid" Column="MenuGuid" Alias="MenuGuid" UseForDesc="true" OriginalName="MenuGuid" Caption="Menu" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceName" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="2" AllowNulls="false" SQLType="nchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentGuid" Column="ParentGuid" Alias="ParentGuid" UseForDesc="false" OriginalName="ParentGuid" Caption="Parent" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Ordinal" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="4" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ModuleGuid" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="false" OriginalName="ModuleGuid" Caption="Module" Ordinal="5" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="ModuleGuid" ChildTable="MenuStructure" ChildAlias="MenuStructure" ChildObject="MenuStructure" ChildProperty="ModuleGuid" ParentColumn="ModuleGuid" ParentTable="AppModule" ParentAlias="AppModule" ParentObject="AppModule" ParentProperty="ModuleGuid" />
        <orm:TableColumn Name="MenuGuid" TableName="MenuStructure" Column="MenuGuid" Alias="MenuGuid" UseForDesc="true" OriginalName="MenuGuid" Caption="Menu" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceName" TableName="MenuStructure" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="2" AllowNulls="false" SQLType="nchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentGuid" TableName="MenuStructure" Column="ParentGuid" Alias="ParentGuid" UseForDesc="false" OriginalName="ParentGuid" Caption="Parent" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Ordinal" TableName="MenuStructure" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="4" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ModuleGuid" TableName="MenuStructure" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="false" OriginalName="ModuleGuid" Caption="Module" Ordinal="5" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="0" ChildSPSet="LocalizedData" TempTableName="LocalizedData" ChildFlag="2" ChildName="LocalizedData">
        <orm:WhereClause Clause="@ModuleGuid=[LocalizedData].[PrimaryKeyGuid]" />
        <orm:BuildTable Ordinal="0" TableName="LocalizedData" OriginalName="LocalizedData" Name="LocalizedData" JoinStyle="" RightAlias="LocalizedData" Schema="dbo">
          <orm:BuildColumn Name="LocalizedDataGuid" Column="LocalizedDataGuid" Alias="LocalizedDataGuid" UseForDesc="true" OriginalName="LocalizedDataGuid" Caption="Localized Data" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="PrimaryKeyGuid" Column="PrimaryKeyGuid" Alias="PrimaryKeyGuid" UseForDesc="false" OriginalName="PrimaryKeyGuid" Caption="Primary Key" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TableName" Column="TableName" Alias="TableName" UseForDesc="true" OriginalName="TableName" Caption="Table Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ColumnName" Column="ColumnName" Alias="ColumnName" UseForDesc="true" OriginalName="ColumnName" Caption="Column Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Value" Column="Value" Alias="Value" UseForDesc="false" OriginalName="Value" Caption="Value" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="PrimaryKeyGuid" ChildTable="LocalizedData" ChildAlias="LocalizedData" ChildObject="LocalizedData" ChildProperty="PrimaryKeyGuid" ParentColumn="ModuleGuid" ParentTable="AppModule" ParentAlias="AppModule" ParentObject="AppModule" ParentProperty="ModuleGuid" />
        <orm:TableColumn Name="LocalizedDataGuid" TableName="LocalizedData" Column="LocalizedDataGuid" Alias="LocalizedDataGuid" UseForDesc="true" OriginalName="LocalizedDataGuid" Caption="Localized Data" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="LocalizedData" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="PrimaryKeyGuid" TableName="LocalizedData" Column="PrimaryKeyGuid" Alias="PrimaryKeyGuid" UseForDesc="false" OriginalName="PrimaryKeyGuid" Caption="Primary Key" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TableName" TableName="LocalizedData" Column="TableName" Alias="TableName" UseForDesc="true" OriginalName="TableName" Caption="Table Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ColumnName" TableName="LocalizedData" Column="ColumnName" Alias="ColumnName" UseForDesc="true" OriginalName="ColumnName" Caption="Column Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Value" TableName="LocalizedData" Column="Value" Alias="Value" UseForDesc="false" OriginalName="Value" Caption="Value" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_AppModule" Task="Create">
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="AppModule" OriginalTable="AppModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ModuleName" Column="ModuleName" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Ordinal" Column="Ordinal" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Caption" Column="Caption" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CaptionFr" Column="CaptionFr" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CaptionDe" Column="CaptionDe" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CaptionAr" Column="CaptionAr" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CaptionEs" Column="CaptionEs" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption1" Column="Caption1" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption2" Column="Caption2" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption3" Column="Caption3" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption4" Column="Caption4" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption5" Column="Caption5" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorR1" Column="BaseColorR1" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="BaseColorG1" Column="BaseColorG1" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="BaseColorB1" Column="BaseColorB1" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="BaseColorR2" Column="BaseColorR2" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorG2" Column="BaseColorG2" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorB2" Column="BaseColorB2" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorR3" Column="BaseColorR3" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorG3" Column="BaseColorG3" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorB3" Column="BaseColorB3" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_AppModule" Task="Retrieve">
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="AppModule" OriginalTable="AppModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_AppModule_By_ModuleName" Task="Retrieve" Alternate="true">
        <orm:RunSPParam Name="ModuleName" Column="ModuleName" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Role_AppModule" Task="RetrieveChild" TempParentTableName="Role" TempChildTableName="AppModule" ParentObjectName="Role" ForeignKeyName="Role">
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="AppModule" OriginalTable="AppModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:TableColumn Name="RoleGuid" TableName="RoleModule" Column="RoleGuid" Alias="RoleGuid" UseForDesc="false" OriginalName="RoleGuid" Caption="Role" Ordinal="-1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_User_AppModule" Task="RetrieveChild" TempParentTableName="User" TempChildTableName="AppModule" ParentObjectName="User" ForeignKeyName="User">
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="AppModule" OriginalTable="AppModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:TableColumn Name="UserGuid" TableName="RoleUser" Column="UserGuid" Alias="UserGuid" UseForDesc="false" OriginalName="UserGuid" Caption="User" Ordinal="-1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleGuid" TableName="RoleModule" Column="RoleGuid" Alias="RoleGuid" UseForDesc="false" OriginalName="RoleGuid" Caption="Role" Ordinal="-1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_AppModule" Task="Update">
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="AppModule" OriginalTable="AppModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ModuleName" Column="ModuleName" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Ordinal" Column="Ordinal" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Caption" Column="Caption" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CaptionFr" Column="CaptionFr" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CaptionDe" Column="CaptionDe" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CaptionAr" Column="CaptionAr" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CaptionEs" Column="CaptionEs" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption1" Column="Caption1" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption2" Column="Caption2" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption3" Column="Caption3" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption4" Column="Caption4" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Caption5" Column="Caption5" Table="AppModule" OriginalTable="AppModule" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorR1" Column="BaseColorR1" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="BaseColorG1" Column="BaseColorG1" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="BaseColorB1" Column="BaseColorB1" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="BaseColorR2" Column="BaseColorR2" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorG2" Column="BaseColorG2" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorB2" Column="BaseColorB2" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorR3" Column="BaseColorR3" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorG3" Column="BaseColorG3" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="BaseColorB3" Column="BaseColorB3" Table="AppModule" OriginalTable="AppModule" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_AppModule" Task="Delete">
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="AppModule" OriginalTable="AppModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_AppModule" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="ResourceGeneration" ObjectName="ResourceGeneration" TableName="ResourceSet" OriginalName="ResourceSet" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="true" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@ResourceSetGuid=[ResourceSet].[ResourceSetGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Application">
          <orm:ForeignKey ChildColumn="ApplicationGuid" ChildTable="ResourceSet" ChildObject="ResourceGeneration" ChildProperty="ApplicationGuid" ParentColumn="ApplicationGuid" ParentTable="ResourceSet" ParentObject="ResourceSet" ParentProperty="ApplicationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="ResourceSet" Schema="dbo">
        <orm:SetSelectColumn Name="ResourceSetGuid" IsPrimaryKey="true" Column="ResourceSetGuid" TableName="ResourceSet" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceSetName" IsPrimaryKey="false" Column="ResourceSetName" TableName="ResourceSet" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="1" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@ResourceSetGuid=[ResourceSet].[ResourceSetGuid]" />
        <orm:BuildTable Ordinal="0" TableName="ResourceSet" OriginalName="ResourceSet" Name="ResourceSet" JoinStyle="" RightAlias="ResourceSet" Schema="dbo">
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="true" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetName" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="ResourceSetGuid" TableName="ResourceSet" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="true" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetName" TableName="ResourceSet" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="ResourceSet" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="2" ChildSPSet="ResourceGenerationLocation" TempTableName="ResourceGenerationLocation" ChildFlag="1" ChildName="ResourceGenerationLocation">
        <orm:WhereClause Clause="@ResourceSetGuid=[StringLocation].[ResourceSetGuid]" />
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="StringLogicalLocation" RightAlias="StringLogicalLocation" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="StringLogicalLocation" JoinStyle="In">
          <orm:JoinKey LeftColumn="StringLogicalLocationGuid" RightColumn="StringLogicalLocationGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="ResourceSet" RightAlias="ResourceSet" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="ResourceSet" JoinStyle="In">
          <orm:JoinKey LeftColumn="ResourceSetGuid" RightColumn="ResourceSetGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringLocation" OriginalName="StringLocation" Name="StringLocation" JoinStyle="" RightAlias="StringLocation" Schema="dbo">
          <orm:BuildColumn Name="StringLocationGuid" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceName" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringCategoryGuid" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="StringLogicalLocation" OriginalName="StringLogicalLocation" Name="StringLogicalLocation" JoinStyle="In" RightAlias="StringLogicalLocation" Schema="dbo">
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationName" Column="StringLogicalLocationName" Alias="StringLogicalLocationName" UseForDesc="true" OriginalName="StringLogicalLocationName" Caption="String Logical Location Name" Ordinal="2" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="1" TableName="ResourceSet" OriginalName="ResourceSet" Name="ResourceSet" JoinStyle="In" RightAlias="ResourceSet" Schema="dbo">
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetName" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildAlias="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="ResourceSetGuid" ParentColumn="ResourceSetGuid" ParentTable="ResourceSet" ParentAlias="ResourceSet" ParentObject="ResourceGeneration" ParentProperty="ResourceSetGuid" />
        <orm:TableColumn Name="StringLocationGuid" TableName="StringLocation" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="StringLocation" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceName" TableName="StringLocation" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringLocation" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringCategoryGuid" TableName="StringLocation" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringLogicalLocation" Column="StringLogicalLocationGuid" Alias="StringLogicalLocation_StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="6" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLogicalLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationName" TableName="StringLogicalLocation" Column="StringLogicalLocationName" Alias="StringLogicalLocationName" UseForDesc="true" OriginalName="StringLogicalLocationName" Caption="String Logical Location Name" Ordinal="7" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLogicalLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="ResourceSet" Column="ResourceSetGuid" Alias="ResourceSet_ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="8" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetName" TableName="ResourceSet" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="9" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="ResourceSet" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="10" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_ResourceGeneration" Task="Create">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetName" Column="ResourceSetName" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_ResourceGeneration" Task="Retrieve">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Application_ResourceSet" Task="RetrieveChild" TempParentTableName="Application" TempChildTableName="ResourceGeneration" ParentObjectName="Application" ForeignKeyName="Application">
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Update_ResourceGeneration" Task="Update">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetName" Column="ResourceSetName" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_ResourceGeneration" Task="Delete">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_ResourceGeneration" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="ResourceGenerationLocation" ObjectName="ResourceGenerationLocation" TableName="StringLocation" OriginalName="StringLocation" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="StringLocationGuid" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@StringLocationGuid=[StringLocation].[StringLocationGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="StringCategory">
          <orm:ForeignKey ChildColumn="StringCategoryGuid" ChildTable="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="StringCategoryGuid" ParentColumn="StringCategoryGuid" ParentTable="StringLocation" ParentObject="StringLocation" ParentProperty="StringCategoryGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="ResourceSet">
          <orm:ForeignKey ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="ResourceSetGuid" ParentColumn="ResourceSetGuid" ParentTable="StringLocation" ParentObject="StringLocation" ParentProperty="ResourceSetGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="StringLogicalLocation">
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLocation" ParentObject="StringLocation" ParentProperty="StringLogicalLocationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="ResourceGeneration">
          <orm:ForeignKey ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildObject="ResourceGenerationLocation" ChildProperty="ResourceSetGuid" ParentColumn="ResourceSetGuid" ParentTable="ResourceSet" ParentObject="ResourceGeneration" ParentProperty="ResourceSetGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="StringLocation" Schema="dbo">
        <orm:SetSelectColumn Name="StringLocationGuid" IsPrimaryKey="true" Column="StringLocationGuid" TableName="StringLocation" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceName" IsPrimaryKey="false" Column="ResourceName" TableName="StringLocation" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="StringLogicalLocationName" IsPrimaryKey="false" Column="StringLogicalLocationName" TableName="StringLogicalLocation" SQLType="varchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceSetName" IsPrimaryKey="false" Column="ResourceSetName" TableName="ResourceSet" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="StringLogicalLocation" RightAlias="StringLogicalLocation" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="StringLogicalLocation" JoinStyle="In">
          <orm:JoinKey LeftColumn="StringLogicalLocationGuid" RightColumn="StringLogicalLocationGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="ResourceSet" RightAlias="ResourceSet" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="ResourceSet" JoinStyle="In">
          <orm:JoinKey LeftColumn="ResourceSetGuid" RightColumn="ResourceSetGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="2" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@StringLocationGuid=[StringLocation].[StringLocationGuid]" />
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="StringLogicalLocation" RightAlias="StringLogicalLocation" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="StringLogicalLocation" JoinStyle="In">
          <orm:JoinKey LeftColumn="StringLogicalLocationGuid" RightColumn="StringLogicalLocationGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="ResourceSet" RightAlias="ResourceSet" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="ResourceSet" JoinStyle="In">
          <orm:JoinKey LeftColumn="ResourceSetGuid" RightColumn="ResourceSetGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringLocation" OriginalName="StringLocation" Name="StringLocation" JoinStyle="" RightAlias="StringLocation" Schema="dbo">
          <orm:BuildColumn Name="StringLocationGuid" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceName" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringCategoryGuid" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="StringLogicalLocation" OriginalName="StringLogicalLocation" Name="StringLogicalLocation" JoinStyle="In" RightAlias="StringLogicalLocation" Schema="dbo">
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationName" Column="StringLogicalLocationName" Alias="StringLogicalLocationName" UseForDesc="true" OriginalName="StringLogicalLocationName" Caption="String Logical Location Name" Ordinal="2" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="1" TableName="ResourceSet" OriginalName="ResourceSet" Name="ResourceSet" JoinStyle="In" RightAlias="ResourceSet" Schema="dbo">
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetName" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="StringLocationGuid" TableName="StringLocation" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="StringLocation" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceName" TableName="StringLocation" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringLocation" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringCategoryGuid" TableName="StringLocation" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringLogicalLocation" Column="StringLogicalLocationGuid" Alias="StringLogicalLocation_StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="6" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLogicalLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationName" TableName="StringLogicalLocation" Column="StringLogicalLocationName" Alias="StringLogicalLocationName" UseForDesc="true" OriginalName="StringLogicalLocationName" Caption="String Logical Location Name" Ordinal="7" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLogicalLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="ResourceSet" Column="ResourceSetGuid" Alias="ResourceSet_ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="8" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetName" TableName="ResourceSet" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="9" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="ResourceSet" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="10" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="StringValue" TempTableName="StringValue" ChildFlag="1" ChildName="StringValue">
        <orm:WhereClause Clause="@StringLogicalLocationGuid=[StringLogicalLocation].[StringLogicalLocationGuid] AND @StringLogicalLocationGuid=[StringValue].[StringLogicalLocationGuid]" />
        <orm:Join Type="INNER" LeftTable="StringValue" RightTable="Culture" RightAlias="Culture" LeftOriginalName="StringValue" LeftAlias="StringValue" RightOriginalName="Culture" JoinStyle="In">
          <orm:JoinKey LeftColumn="CultureGuid" RightColumn="CultureGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringValue" OriginalName="StringValue" Name="StringValue" JoinStyle="" RightAlias="StringValue" Schema="dbo">
          <orm:BuildColumn Name="StringValueGuid" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OriginalString" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationString" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="MachineTranslated" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationSource" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationDate" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="NeedsReview" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="Culture" OriginalName="Culture" Name="Culture" JoinStyle="In" RightAlias="Culture" Schema="dbo">
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureName" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UnderlyingIdentifier" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringLogicalLocation" ChildAlias="StringLogicalLocation" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLocation" ParentAlias="StringLocation" ParentObject="ResourceGenerationLocation" ParentProperty="StringLogicalLocationGuid" />
        <orm:ChildKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringValue" ChildAlias="StringValue" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentAlias="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" />
        <orm:TableColumn Name="StringValueGuid" TableName="StringValue" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringValue" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureGuid" TableName="StringValue" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OriginalString" TableName="StringValue" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationString" TableName="StringValue" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="MachineTranslated" TableName="StringValue" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="StringValue" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationSource" TableName="StringValue" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationDate" TableName="StringValue" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="NeedsReview" TableName="StringValue" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        <orm:TableColumn Name="CultureGuid" TableName="Culture" Column="CultureGuid" Alias="Culture_CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="11" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="Culture" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="12" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureName" TableName="Culture" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UnderlyingIdentifier" TableName="Culture" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="14" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="Culture" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="15" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" IsLocalizedProperty="true" />
        <orm:OrderBy Name="CultureName" Ordinal="0" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_ResourceGenerationLocation" Task="Create">
        <orm:RunSPParam Name="StringLocationGuid" Column="StringLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceName" Column="ResourceName" Table="StringLocation" OriginalTable="StringLocation" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_ResourceGenerationLocation" Task="Retrieve">
        <orm:RunSPParam Name="StringLocationGuid" Column="StringLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_StringCategory_StringLocation" Task="RetrieveChild" TempParentTableName="StringCategory" TempChildTableName="ResourceGenerationLocation" ParentObjectName="StringCategory" ForeignKeyName="StringCategory">
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_ResourceSet_StringLocation" Task="RetrieveChild" TempParentTableName="ResourceSet" TempChildTableName="ResourceGenerationLocation" ParentObjectName="ResourceSet" ForeignKeyName="ResourceSet">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_StringLogicalLocation_StringLocation" Task="RetrieveChild" TempParentTableName="StringLogicalLocation" TempChildTableName="ResourceGenerationLocation" ParentObjectName="StringLogicalLocation" ForeignKeyName="StringLogicalLocation">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_ResourceGeneration_StringLocation" Task="RetrieveChild" TempParentTableName="ResourceGeneration" TempChildTableName="ResourceGenerationLocation" ParentObjectName="ResourceGeneration" ForeignKeyName="ResourceGeneration">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_ResourceGenerationLocation" Task="Update">
        <orm:RunSPParam Name="StringLocationGuid" Column="StringLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceName" Column="ResourceName" Table="StringLocation" OriginalTable="StringLocation" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_ResourceGenerationLocation" Task="Delete">
        <orm:RunSPParam Name="StringLocationGuid" Column="StringLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_ResourceGenerationLocation" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="ResourceSet" ObjectName="ResourceSet" TableName="ResourceSet" OriginalName="ResourceSet" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="true" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@ResourceSetGuid=[ResourceSet].[ResourceSetGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Application">
          <orm:ForeignKey ChildColumn="ApplicationGuid" ChildTable="ResourceSet" ChildObject="ResourceSet" ChildProperty="ApplicationGuid" ParentColumn="ApplicationGuid" ParentTable="Application" ParentObject="Application" ParentProperty="ApplicationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="ResourceSet" Schema="dbo">
        <orm:SetSelectColumn Name="ResourceSetGuid" IsPrimaryKey="true" Column="ResourceSetGuid" TableName="ResourceSet" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceSetName" IsPrimaryKey="false" Column="ResourceSetName" TableName="ResourceSet" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="1" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@ResourceSetGuid=[ResourceSet].[ResourceSetGuid]" />
        <orm:BuildTable Ordinal="0" TableName="ResourceSet" OriginalName="ResourceSet" Name="ResourceSet" JoinStyle="" RightAlias="ResourceSet" Schema="dbo">
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="true" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetName" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="ResourceSetGuid" TableName="ResourceSet" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="true" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetName" TableName="ResourceSet" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="ResourceSet" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="2" ChildSPSet="StringLocation" TempTableName="StringLocation" ChildFlag="1" ChildName="StringLocation">
        <orm:WhereClause Clause="@ResourceSetGuid=[StringLocation].[ResourceSetGuid]" />
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="ResourceSet" RightAlias="ResourceSet" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="ResourceSet" JoinStyle="In">
          <orm:JoinKey LeftColumn="ResourceSetGuid" RightColumn="ResourceSetGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringLocation" OriginalName="StringLocation" Name="StringLocation" JoinStyle="" RightAlias="StringLocation" Schema="dbo">
          <orm:BuildColumn Name="StringLocationGuid" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceName" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringCategoryGuid" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="ResourceSet" OriginalName="ResourceSet" Name="ResourceSet" JoinStyle="In" RightAlias="ResourceSet" Schema="dbo">
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetName" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildAlias="StringLocation" ChildObject="StringLocation" ChildProperty="ResourceSetGuid" ParentColumn="ResourceSetGuid" ParentTable="ResourceSet" ParentAlias="ResourceSet" ParentObject="ResourceSet" ParentProperty="ResourceSetGuid" />
        <orm:TableColumn Name="StringLocationGuid" TableName="StringLocation" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="StringLocation" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceName" TableName="StringLocation" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringLocation" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringCategoryGuid" TableName="StringLocation" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="ResourceSet" Column="ResourceSetGuid" Alias="ResourceSet_ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="6" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetName" TableName="ResourceSet" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="7" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="ResourceSet" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="8" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_ResourceSet" Task="Create">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetName" Column="ResourceSetName" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_ResourceSet" Task="Retrieve">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_ResourceSet_By_ResourceSetName" Task="Retrieve" Alternate="true">
        <orm:RunSPParam Name="ResourceSetName" Column="ResourceSetName" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Application_ResourceSet" Task="RetrieveChild" TempParentTableName="Application" TempChildTableName="ResourceSet" ParentObjectName="Application" ForeignKeyName="Application">
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Update_ResourceSet" Task="Update">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetName" Column="ResourceSetName" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ApplicationGuid" Column="ApplicationGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_ResourceSet" Task="Delete">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="ResourceSet" OriginalTable="ResourceSet" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_ResourceSet" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet NoChildren="true" Name="StringCandidateLocation" ObjectName="StringCandidateLocation" TableName="StringLogicalLocation" OriginalName="StringLogicalLocation" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@StringLogicalLocationGuid=[StringLogicalLocation].[StringLogicalLocationGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="StringLogicalLocation" Schema="dbo">
        <orm:SetSelectColumn Name="StringLogicalLocationGuid" IsPrimaryKey="true" Column="StringLogicalLocationGuid" TableName="StringLogicalLocation" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="StringLogicalLocationName" IsPrimaryKey="false" Column="StringLogicalLocationName" TableName="StringLogicalLocation" SQLType="varchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="CultureName" IsPrimaryKey="false" Column="CultureName" TableName="Culture" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="StringValueGuid" IsPrimaryKey="false" Column="StringValueGuid" TableName="StringValue" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="OriginalString" IsPrimaryKey="false" Column="OriginalString" TableName="StringValue" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:Join Type="INNER" LeftTable="StringLogicalLocation" RightTable="StringValue" RightAlias="StringValue" LeftOriginalName="StringLogicalLocation" LeftAlias="StringLogicalLocation" RightOriginalName="StringValue" JoinStyle="In">
          <orm:JoinKey LeftColumn="StringLogicalLocationGuid" RightColumn="StringLogicalLocationGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:Join Type="INNER" LeftTable="StringLogicalLocation" RightTable="Culture" RightAlias="Culture" LeftOriginalName="StringValue" LeftAlias="StringLogicalLocation" RightOriginalName="Culture" JoinStyle="In">
          <orm:JoinKey LeftColumn="CultureGuid" RightColumn="CultureGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@StringLogicalLocationGuid=[StringLogicalLocation].[StringLogicalLocationGuid]" />
        <orm:Join Type="INNER" LeftTable="StringLogicalLocation" RightTable="StringValue" RightAlias="StringValue" LeftOriginalName="StringLogicalLocation" LeftAlias="StringLogicalLocation" RightOriginalName="StringValue" JoinStyle="In">
          <orm:JoinKey LeftColumn="StringLogicalLocationGuid" RightColumn="StringLogicalLocationGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:Join Type="INNER" LeftTable="StringLogicalLocation" RightTable="Culture" RightAlias="Culture" LeftOriginalName="StringValue" LeftAlias="StringLogicalLocation" RightOriginalName="Culture" JoinStyle="In">
          <orm:JoinKey LeftColumn="CultureGuid" RightColumn="CultureGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringLogicalLocation" OriginalName="StringLogicalLocation" Name="StringLogicalLocation" JoinStyle="" RightAlias="StringLogicalLocation" Schema="dbo">
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location Guid" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationName" Column="StringLogicalLocationName" Alias="StringLogicalLocationName" UseForDesc="true" OriginalName="StringLogicalLocationName" Caption="String Logical Location Name" Ordinal="2" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="StringValue" OriginalName="StringValue" Name="StringValue" JoinStyle="In" RightAlias="StringValue" Schema="dbo">
          <orm:BuildColumn Name="StringValueGuid" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OriginalString" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="1" TableName="Culture" OriginalName="Culture" Name="Culture" JoinStyle="In" RightAlias="Culture" Schema="dbo">
          <orm:BuildColumn Name="CultureName" Column="CultureName" Alias="CultureName" UseForDesc="true" OriginalName="CultureName" Caption="Culture Name" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringLogicalLocation" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location Guid" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLogicalLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationName" TableName="StringLogicalLocation" Column="StringLogicalLocationName" Alias="StringLogicalLocationName" UseForDesc="true" OriginalName="StringLogicalLocationName" Caption="String Logical Location Name" Ordinal="2" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLogicalLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureName" TableName="Culture" Column="CultureName" Alias="CultureName" UseForDesc="true" OriginalName="CultureName" Caption="Culture Name" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringValueGuid" TableName="StringValue" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value Guid" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OriginalString" TableName="StringValue" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_StringCandidateLocation" Task="Create">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationName" Column="StringLogicalLocationName" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_StringCandidateLocation" Task="Retrieve">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_StringCandidateLocation" Task="Update">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationName" Column="StringLogicalLocationName" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_StringCandidateLocation" Task="Delete">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_StringCandidateLocation" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="StringLocation" ObjectName="StringLocation" TableName="StringLocation" OriginalName="StringLocation" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="StringLocationGuid" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@StringLocationGuid=[StringLocation].[StringLocationGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="StringCategory">
          <orm:ForeignKey ChildColumn="StringCategoryGuid" ChildTable="StringLocation" ChildObject="StringLocation" ChildProperty="StringCategoryGuid" ParentColumn="StringCategoryGuid" ParentTable="StringCategory" ParentObject="StringCategory" ParentProperty="StringCategoryGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="ResourceSet">
          <orm:ForeignKey ChildColumn="ResourceSetGuid" ChildTable="StringLocation" ChildObject="StringLocation" ChildProperty="ResourceSetGuid" ParentColumn="ResourceSetGuid" ParentTable="ResourceSet" ParentObject="ResourceSet" ParentProperty="ResourceSetGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="StringLogicalLocation">
          <orm:ForeignKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringLocation" ChildObject="StringLocation" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="StringLocation" Schema="dbo">
        <orm:SetSelectColumn Name="StringLocationGuid" IsPrimaryKey="true" Column="StringLocationGuid" TableName="StringLocation" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceName" IsPrimaryKey="false" Column="ResourceName" TableName="StringLocation" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceSetName" IsPrimaryKey="false" Column="ResourceSetName" TableName="ResourceSet" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="ResourceSet" RightAlias="ResourceSet" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="ResourceSet" JoinStyle="In">
          <orm:JoinKey LeftColumn="ResourceSetGuid" RightColumn="ResourceSetGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="2" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@StringLocationGuid=[StringLocation].[StringLocationGuid]" />
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="ResourceSet" RightAlias="ResourceSet" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="ResourceSet" JoinStyle="In">
          <orm:JoinKey LeftColumn="ResourceSetGuid" RightColumn="ResourceSetGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringLocation" OriginalName="StringLocation" Name="StringLocation" JoinStyle="" RightAlias="StringLocation" Schema="dbo">
          <orm:BuildColumn Name="StringLocationGuid" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceName" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringCategoryGuid" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="ResourceSet" OriginalName="ResourceSet" Name="ResourceSet" JoinStyle="In" RightAlias="ResourceSet" Schema="dbo">
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetName" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="StringLocationGuid" TableName="StringLocation" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="StringLocation" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceName" TableName="StringLocation" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringLocation" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringCategoryGuid" TableName="StringLocation" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="ResourceSet" Column="ResourceSetGuid" Alias="ResourceSet_ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="6" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetName" TableName="ResourceSet" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="7" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="ResourceSet" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="8" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_StringLocation" Task="Create">
        <orm:RunSPParam Name="StringLocationGuid" Column="StringLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceName" Column="ResourceName" Table="StringLocation" OriginalTable="StringLocation" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_StringLocation" Task="Retrieve">
        <orm:RunSPParam Name="StringLocationGuid" Column="StringLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_StringCategory_StringLocation" Task="RetrieveChild" TempParentTableName="StringCategory" TempChildTableName="StringLocation" ParentObjectName="StringCategory" ForeignKeyName="StringCategory">
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_ResourceSet_StringLocation" Task="RetrieveChild" TempParentTableName="ResourceSet" TempChildTableName="StringLocation" ParentObjectName="ResourceSet" ForeignKeyName="ResourceSet">
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_StringLogicalLocation_StringLocation" Task="RetrieveChild" TempParentTableName="StringLogicalLocation" TempChildTableName="StringLocation" ParentObjectName="StringLogicalLocation" ForeignKeyName="StringLogicalLocation">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_StringLocation" Task="Update">
        <orm:RunSPParam Name="StringLocationGuid" Column="StringLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetGuid" Column="ResourceSetGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceName" Column="ResourceName" Table="StringLocation" OriginalTable="StringLocation" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_StringLocation" Task="Delete">
        <orm:RunSPParam Name="StringLocationGuid" Column="StringLocationGuid" Table="StringLocation" OriginalTable="StringLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_StringLocation" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="StringLogicalLocation" ObjectName="StringLogicalLocation" TableName="StringLogicalLocation" OriginalName="StringLogicalLocation" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@StringLogicalLocationGuid=[StringLogicalLocation].[StringLogicalLocationGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="StringLogicalLocation" Schema="dbo">
        <orm:SetSelectColumn Name="StringLogicalLocationGuid" IsPrimaryKey="true" Column="StringLogicalLocationGuid" TableName="StringLogicalLocation" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="StringLogicalLocationName" IsPrimaryKey="false" Column="StringLogicalLocationName" TableName="StringLogicalLocation" SQLType="varchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@StringLogicalLocationGuid=[StringLogicalLocation].[StringLogicalLocationGuid]" />
        <orm:BuildTable Ordinal="0" TableName="StringLogicalLocation" OriginalName="StringLogicalLocation" Name="StringLogicalLocation" JoinStyle="" RightAlias="StringLogicalLocation" Schema="dbo">
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationName" Column="StringLogicalLocationName" Alias="StringLogicalLocationName" UseForDesc="true" OriginalName="StringLogicalLocationName" Caption="String Logical Location Name" Ordinal="2" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringLogicalLocation" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLogicalLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationName" TableName="StringLogicalLocation" Column="StringLogicalLocationName" Alias="StringLogicalLocationName" UseForDesc="true" OriginalName="StringLogicalLocationName" Caption="String Logical Location Name" Ordinal="2" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLogicalLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="StringValue" TempTableName="StringValue" ChildFlag="1" ChildName="StringValue">
        <orm:WhereClause Clause="@StringLogicalLocationGuid=[StringValue].[StringLogicalLocationGuid]" />
        <orm:Join Type="INNER" LeftTable="StringValue" RightTable="Culture" RightAlias="Culture" LeftOriginalName="StringValue" LeftAlias="StringValue" RightOriginalName="Culture" JoinStyle="In">
          <orm:JoinKey LeftColumn="CultureGuid" RightColumn="CultureGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringValue" OriginalName="StringValue" Name="StringValue" JoinStyle="" RightAlias="StringValue" Schema="dbo">
          <orm:BuildColumn Name="StringValueGuid" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OriginalString" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationString" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="MachineTranslated" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationSource" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TranslationDate" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="NeedsReview" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="Culture" OriginalName="Culture" Name="Culture" JoinStyle="In" RightAlias="Culture" Schema="dbo">
          <orm:BuildColumn Name="CultureGuid" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureName" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UnderlyingIdentifier" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringValue" ChildAlias="StringValue" ChildObject="StringValue" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentAlias="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" />
        <orm:TableColumn Name="StringValueGuid" TableName="StringValue" Column="StringValueGuid" Alias="StringValueGuid" UseForDesc="true" OriginalName="StringValueGuid" Caption="String Value" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringValue" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="true" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureGuid" TableName="StringValue" Column="CultureGuid" Alias="CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OriginalString" TableName="StringValue" Column="OriginalString" Alias="OriginalString" UseForDesc="true" OriginalName="OriginalString" Caption="Original String" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationString" TableName="StringValue" Column="OrganizationString" Alias="OrganizationString" UseForDesc="false" OriginalName="OrganizationString" Caption="Organization String" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="MachineTranslated" TableName="StringValue" Column="MachineTranslated" Alias="MachineTranslated" UseForDesc="false" OriginalName="MachineTranslated" Caption="Machine Translated" Ordinal="6" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="StringValue" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="7" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationSource" TableName="StringValue" Column="TranslationSource" Alias="TranslationSource" UseForDesc="false" OriginalName="TranslationSource" Caption="Translation Source" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TranslationDate" TableName="StringValue" Column="TranslationDate" Alias="TranslationDate" UseForDesc="false" OriginalName="TranslationDate" Caption="Translation Date" Ordinal="9" AllowNulls="true" SQLType="datetime" NETType="System.DateTime" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="NeedsReview" TableName="StringValue" Column="NeedsReview" Alias="NeedsReview" UseForDesc="false" OriginalName="NeedsReview" Caption="Needs Review" Ordinal="10" AllowNulls="true" SQLType="tinyint" NETType="System.Byte" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringValue" JoinBaseRootKey="false" JoinBaseLeafKey="false" MS_Description="0: No review, 1: Machine Translated, 2: Invariant value changed" />
        <orm:TableColumn Name="CultureGuid" TableName="Culture" Column="CultureGuid" Alias="Culture_CultureGuid" UseForDesc="false" OriginalName="CultureGuid" Caption="Culture" Ordinal="11" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="Culture" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="12" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureName" TableName="Culture" Column="CultureName" Alias="CultureName" UseForDesc="false" OriginalName="CultureName" Caption="Culture Name" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UnderlyingIdentifier" TableName="Culture" Column="UnderlyingIdentifier" Alias="UnderlyingIdentifier" UseForDesc="false" OriginalName="UnderlyingIdentifier" Caption="Underlying Identifier" Ordinal="14" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="Culture" Column="Description" Alias="Description" UseForDesc="false" OriginalName="Description" Caption="Description" Ordinal="15" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Culture" JoinBaseRootKey="false" JoinBaseLeafKey="false" IsLocalizedProperty="true" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="2" ChildSPSet="StringLocation" TempTableName="StringLocation" ChildFlag="2" ChildName="StringLocation">
        <orm:WhereClause Clause="@StringLogicalLocationGuid=[StringLocation].[StringLogicalLocationGuid]" />
        <orm:Join Type="INNER" LeftTable="StringLocation" RightTable="ResourceSet" RightAlias="ResourceSet" LeftOriginalName="StringLocation" LeftAlias="StringLocation" RightOriginalName="ResourceSet" JoinStyle="In">
          <orm:JoinKey LeftColumn="ResourceSetGuid" RightColumn="ResourceSetGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="StringLocation" OriginalName="StringLocation" Name="StringLocation" JoinStyle="" RightAlias="StringLocation" Schema="dbo">
          <orm:BuildColumn Name="StringLocationGuid" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceName" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="StringCategoryGuid" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="ResourceSet" OriginalName="ResourceSet" Name="ResourceSet" JoinStyle="In" RightAlias="ResourceSet" Schema="dbo">
          <orm:BuildColumn Name="ResourceSetGuid" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetName" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ApplicationGuid" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="StringLogicalLocationGuid" ChildTable="StringLocation" ChildAlias="StringLocation" ChildObject="StringLocation" ChildProperty="StringLogicalLocationGuid" ParentColumn="StringLogicalLocationGuid" ParentTable="StringLogicalLocation" ParentAlias="StringLogicalLocation" ParentObject="StringLogicalLocation" ParentProperty="StringLogicalLocationGuid" />
        <orm:TableColumn Name="StringLocationGuid" TableName="StringLocation" Column="StringLocationGuid" Alias="StringLocationGuid" UseForDesc="true" OriginalName="StringLocationGuid" Caption="String Location" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="StringLocation" Column="ResourceSetGuid" Alias="ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceName" TableName="StringLocation" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringLogicalLocationGuid" TableName="StringLocation" Column="StringLogicalLocationGuid" Alias="StringLogicalLocationGuid" UseForDesc="false" OriginalName="StringLogicalLocationGuid" Caption="String Logical Location" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="StringCategoryGuid" TableName="StringLocation" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="false" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringLocation" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetGuid" TableName="ResourceSet" Column="ResourceSetGuid" Alias="ResourceSet_ResourceSetGuid" UseForDesc="false" OriginalName="ResourceSetGuid" Caption="Resource Set" Ordinal="6" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetName" TableName="ResourceSet" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="7" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ApplicationGuid" TableName="ResourceSet" Column="ApplicationGuid" Alias="ApplicationGuid" UseForDesc="false" OriginalName="ApplicationGuid" Caption="Application" Ordinal="8" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="ResourceSet" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_StringLogicalLocation" Task="Create">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationName" Column="StringLogicalLocationName" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_StringLogicalLocation" Task="Retrieve">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_StringLogicalLocation_By_StringLogicalLocationName" Task="Retrieve" Alternate="true">
        <orm:RunSPParam Name="StringLogicalLocationName" Column="StringLogicalLocationName" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Update_StringLogicalLocation" Task="Update">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="StringLogicalLocationName" Column="StringLogicalLocationName" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="varchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_StringLogicalLocation" Task="Delete">
        <orm:RunSPParam Name="StringLogicalLocationGuid" Column="StringLogicalLocationGuid" Table="StringLogicalLocation" OriginalTable="StringLogicalLocation" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_StringLogicalLocation" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="StringResource" ObjectName="StringResource" TableName="StringResource" OriginalName="StringResource" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="StringResourceGuid" Column="StringResourceGuid" Alias="StringResourceGuid" UseForDesc="true" OriginalName="StringResourceGuid" Caption="String Resource" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@StringResourceGuid=[StringResource].[StringResourceGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="StringResource" Schema="dbo">
        <orm:SetSelectColumn Name="StringResourceGuid" IsPrimaryKey="true" Column="StringResourceGuid" TableName="StringResource" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceName" IsPrimaryKey="false" Column="ResourceName" TableName="StringResource" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceSetName" IsPrimaryKey="false" Column="ResourceSetName" TableName="StringResource" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceValue" IsPrimaryKey="false" Column="ResourceValue" TableName="StringResource" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="Culture" IsPrimaryKey="false" Column="Culture" TableName="StringResource" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@StringResourceGuid=[StringResource].[StringResourceGuid]" />
        <orm:BuildTable Ordinal="0" TableName="StringResource" OriginalName="StringResource" Name="StringResource" JoinStyle="" RightAlias="StringResource" Schema="dbo">
          <orm:BuildColumn Name="StringResourceGuid" Column="StringResourceGuid" Alias="StringResourceGuid" UseForDesc="true" OriginalName="StringResourceGuid" Caption="String Resource Guid" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceName" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceSetName" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceValue" Column="ResourceValue" Alias="ResourceValue" UseForDesc="true" OriginalName="ResourceValue" Caption="Resource Value" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Culture" Column="Culture" Alias="Culture" UseForDesc="true" OriginalName="Culture" Caption="Culture" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="StringResourceGuid" TableName="StringResource" Column="StringResourceGuid" Alias="StringResourceGuid" UseForDesc="true" OriginalName="StringResourceGuid" Caption="String Resource Guid" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringResource" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceName" TableName="StringResource" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringResource" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceSetName" TableName="StringResource" Column="ResourceSetName" Alias="ResourceSetName" UseForDesc="true" OriginalName="ResourceSetName" Caption="Resource Set Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringResource" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceValue" TableName="StringResource" Column="ResourceValue" Alias="ResourceValue" UseForDesc="true" OriginalName="ResourceValue" Caption="Resource Value" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringResource" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Culture" TableName="StringResource" Column="Culture" Alias="Culture" UseForDesc="true" OriginalName="Culture" Caption="Culture" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringResource" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_StringResource" Task="Create">
        <orm:RunSPParam Name="StringResourceGuid" Column="StringResourceGuid" Table="StringResource" OriginalTable="StringResource" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceName" Column="ResourceName" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetName" Column="ResourceSetName" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceValue" Column="ResourceValue" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Culture" Column="Culture" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_StringResource" Task="Retrieve">
        <orm:RunSPParam Name="StringResourceGuid" Column="StringResourceGuid" Table="StringResource" OriginalTable="StringResource" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_StringResource_By_ResourceName" Task="Retrieve" Alternate="true">
        <orm:RunSPParam Name="ResourceSetName" Column="ResourceSetName" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceName" Column="ResourceName" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Culture" Column="Culture" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Update_StringResource" Task="Update">
        <orm:RunSPParam Name="StringResourceGuid" Column="StringResourceGuid" Table="StringResource" OriginalTable="StringResource" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceName" Column="ResourceName" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceSetName" Column="ResourceSetName" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceValue" Column="ResourceValue" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="500" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Culture" Column="Culture" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_StringResource" Task="Delete">
        <orm:RunSPParam Name="StringResourceGuid" Column="StringResourceGuid" Table="StringResource" OriginalTable="StringResource" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_StringResource" Task="SetSelect" />
      <orm:RunSP Name="SelectAll_StringResource_By_NameAndCulture" Task="SetSelect" Alternate="true">
        <orm:RunSPParam Name="ResourceSetName" Column="ResourceSetName" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Culture" Column="Culture" Table="StringResource" OriginalTable="StringResource" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
    </orm:SPSet>
    <orm:SPSet Name="Organization" ObjectName="Organization" TableName="Organization" OriginalName="Organization" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" HasSelfJoin="true" IsMultiParentChild="false" kd:AllowListAll="true" test2="Test2 value" test3="Test3 value" test4="Test4 value">
      <orm:RetrieveParameter Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@OrganizationGuid=[Organization].[OrganizationGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="OrganizationSubtree">
          <orm:ForeignKey ChildColumn="OrganizationSubtreeGuid" ChildTable="Organization" ChildObject="Organization" ChildProperty="OrganizationSubtreeGuid" ParentColumn="OrganizationSubtreeGuid" ParentTable="OrganizationSubtree" ParentObject="OrganizationSubtree" ParentProperty="OrganizationSubtreeGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Organization">
          <orm:ForeignKey ChildColumn="ParentOrganizationGuid" ChildTable="Organization" ChildObject="Organization" ChildProperty="ParentOrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="Organization" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" Ordinal="0" />
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="Role" ChildObject="Organization" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" Ordinal="1" />
          <orm:ForeignKey ChildColumn="OrganizationGuid" ChildTable="Organization" ChildObject="Organization" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Role" ParentObject="Role" ParentProperty="OrganizationGuid" Ordinal="2" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="Organization" Schema="dbo">
        <orm:SetSelectColumn Name="OrganizationGuid" IsPrimaryKey="true" Column="OrganizationGuid" TableName="Organization" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="OrganizationShortName" IsPrimaryKey="false" Column="OrganizationShortName" TableName="Organization" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="OrganizationName" IsPrimaryKey="false" Column="OrganizationName" TableName="Organization" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="1" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@OrganizationGuid=[Organization].[OrganizationGuid]" />
        <orm:BuildTable Ordinal="0" TableName="Organization" OriginalName="Organization" Name="Organization" JoinStyle="" RightAlias="Organization" Schema="dbo">
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
          <orm:BuildColumn Name="OrganizationShortName" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationName" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="OrganizationGuid" TableName="Organization" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationSubtreeGuid" TableName="Organization" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentOrganizationGuid" TableName="Organization" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
        <orm:TableColumn Name="OrganizationShortName" TableName="Organization" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationName" TableName="Organization" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="2" ChildSPSet="Role" TempTableName="Role" ChildFlag="1" ChildName="Role">
        <orm:WhereClause Clause="@OrganizationGuid=[Role].[OrganizationGuid]" />
        <orm:Join Type="INNER" LeftTable="Role" RightTable="Organization" RightAlias="Organization" LeftOriginalName="Role" LeftAlias="Role" RightOriginalName="Organization" JoinStyle="In">
          <orm:JoinKey LeftColumn="OrganizationGuid" RightColumn="OrganizationGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="Role" OriginalName="Role" Name="Role" JoinStyle="" RightAlias="Role" Schema="dbo">
          <orm:BuildColumn Name="RoleGuid" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="RoleName" Column="RoleName" Alias="RoleName" UseForDesc="true" OriginalName="RoleName" Caption="Role Name" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="Organization" OriginalName="Organization" Name="Organization" JoinStyle="In" RightAlias="Organization" Schema="dbo">
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationShortName" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationName" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="OrganizationGuid" ChildTable="Role" ChildAlias="Role" ChildObject="Role" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentAlias="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
        <orm:TableColumn Name="RoleGuid" TableName="Role" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleName" TableName="Role" Column="RoleName" Alias="RoleName" UseForDesc="true" OriginalName="RoleName" Caption="Role Name" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationGuid" TableName="Role" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationGuid" TableName="Organization" Column="OrganizationGuid" Alias="Organization_OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="4" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationSubtreeGuid" TableName="Organization" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentOrganizationGuid" TableName="Organization" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="6" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
        <orm:TableColumn Name="OrganizationShortName" TableName="Organization" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="7" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationName" TableName="Organization" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="8" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="1" ChildSPSet="Organization" TempTableName="OrganizationByGroup" ChildFlag="2" ChildName="Organization">
        <orm:WhereClause Clause="@OrganizationGuid=[Organization].[ParentOrganizationGuid]" />
        <orm:BuildTable Ordinal="0" TableName="Organization" OriginalName="Organization" Name="Organization" JoinStyle="" RightAlias="Organization__1" Schema="dbo">
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
          <orm:BuildColumn Name="OrganizationShortName" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationName" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="ParentOrganizationGuid" ChildTable="Organization" ChildAlias="Organization" ChildObject="Organization" ChildProperty="ParentOrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentAlias="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
        <orm:TableColumn Name="OrganizationGuid" TableName="Organization" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationSubtreeGuid" TableName="Organization" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentOrganizationGuid" TableName="Organization" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
        <orm:TableColumn Name="OrganizationShortName" TableName="Organization" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationName" TableName="Organization" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet3" InsertPriority="2" ChildSPSet="OrganizationAccess" TempTableName="OrganizationAccess" ChildFlag="4" ChildName="OrganizationAccess">
        <orm:WhereClause Clause="@OrganizationGuid=[OrganizationAccess].[OrganizationGuid]" />
        <orm:BuildTable Ordinal="0" TableName="OrganizationAccess" OriginalName="OrganizationAccess" Name="OrganizationAccess" JoinStyle="" RightAlias="OrganizationAccess" Schema="dbo">
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Access" Column="Access" Alias="Access" UseForDesc="true" OriginalName="Access" Caption="Access" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="OrganizationGuid" ChildTable="OrganizationAccess" ChildAlias="OrganizationAccess" ChildObject="OrganizationAccess" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentAlias="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
        <orm:TableColumn Name="OrganizationGuid" TableName="OrganizationAccess" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationAccess" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Access" TableName="OrganizationAccess" Column="Access" Alias="Access" UseForDesc="true" OriginalName="Access" Caption="Access" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationAccess" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet4" InsertPriority="2" ChildSPSet="OrganizationCulture" TempTableName="OrganizationCulture" ChildFlag="8" ChildName="OrganizationCulture">
        <orm:WhereClause Clause="@OrganizationGuid=[OrganizationCulture].[OrganizationGuid]" />
        <orm:BuildTable Ordinal="0" TableName="OrganizationCulture" OriginalName="OrganizationCulture" Name="OrganizationCulture" JoinStyle="" RightAlias="OrganizationCulture" Schema="dbo">
          <orm:BuildColumn Name="OrganizationCultureGuid" Column="OrganizationCultureGuid" Alias="OrganizationCultureGuid" UseForDesc="true" OriginalName="OrganizationCultureGuid" Caption="Organization Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="OrganizationGuid" ChildTable="OrganizationCulture" ChildAlias="OrganizationCulture" ChildObject="OrganizationCulture" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentAlias="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" />
        <orm:TableColumn Name="OrganizationCultureGuid" TableName="OrganizationCulture" Column="OrganizationCultureGuid" Alias="OrganizationCultureGuid" UseForDesc="true" OriginalName="OrganizationCultureGuid" Caption="Organization Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationGuid" TableName="OrganizationCulture" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="OrganizationCulture" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_Organization" Task="Create">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="OrganizationShortName" Column="OrganizationShortName" Table="Organization" OriginalTable="Organization" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="OrganizationName" Column="OrganizationName" Table="Organization" OriginalTable="Organization" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_Organization" Task="Retrieve">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_Organization_By_OrganizationName" Task="Retrieve" Alternate="true">
        <orm:RunSPParam Name="OrganizationName" Column="OrganizationName" Table="Organization" OriginalTable="Organization" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_OrganizationSubtree_Organization" Task="RetrieveChild" TempParentTableName="OrganizationSubtree" TempChildTableName="Organization" ParentObjectName="OrganizationSubtree" ForeignKeyName="OrganizationSubtree">
        <orm:RunSPParam Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Organization_Organization" Task="RetrieveChild" TempParentTableName="Organization" TempChildTableName="OrganizationByGroup" ParentObjectName="Organization" ForeignKeyName="Organization">
        <orm:RunSPParam Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_User_Organization" Task="RetrieveChild" TempParentTableName="User" TempChildTableName="Organization" ParentObjectName="User" ForeignKeyName="User">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:TableColumn Name="UserGuid" TableName="RoleUser" Column="UserGuid" Alias="UserGuid" UseForDesc="false" OriginalName="UserGuid" Caption="User" Ordinal="-1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleGuid" TableName="Role" Column="RoleGuid" Alias="RoleGuid" UseForDesc="false" OriginalName="RoleGuid" Caption="Role" Ordinal="-1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:RunSP>
      <orm:RunSP Name="Organization_SelectHierarchy" Task="RetrieveHierarchy">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_Organization" Task="Update">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="OrganizationShortName" Column="OrganizationShortName" Table="Organization" OriginalTable="Organization" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="OrganizationName" Column="OrganizationName" Table="Organization" OriginalTable="Organization" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_Organization" Task="Delete">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="Organization" OriginalTable="Organization" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_Organization" Task="SetSelect" />
      <orm:RunSP Name="SelectAll_Organization_By_OrganizationName" Task="SetSelect" Alternate="true">
        <orm:RunSPParam Name="OrganizationName" Column="OrganizationName" Table="Organization" OriginalTable="Organization" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
    </orm:SPSet>
    <orm:SPSet Name="Role" ObjectName="Role" TableName="Role" OriginalName="Role" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" IsMultiParentChild="false" kd:AllowAll="true">
      <orm:RetrieveParameter Name="RoleGuid" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@RoleGuid=[Role].[RoleGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Organization">
          <orm:ForeignKey ChildColumn="OrganizationGuid" ChildTable="Role" ChildObject="Role" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="Role" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" Ordinal="0" />
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="Role" ChildObject="Role" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" Ordinal="1" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="Role" Schema="dbo">
        <orm:SetSelectColumn Name="RoleGuid" IsPrimaryKey="true" Column="RoleGuid" TableName="Role" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="RoleName" IsPrimaryKey="false" Column="RoleName" TableName="Role" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="OrganizationShortName" IsPrimaryKey="false" Column="OrganizationShortName" TableName="Organization" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="OrganizationName" IsPrimaryKey="false" Column="OrganizationName" TableName="Organization" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:Join Type="INNER" LeftTable="Role" RightTable="Organization" RightAlias="Organization" LeftOriginalName="Role" LeftAlias="Role" RightOriginalName="Organization" JoinStyle="In">
          <orm:JoinKey LeftColumn="OrganizationGuid" RightColumn="OrganizationGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="2" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@RoleGuid=[Role].[RoleGuid]" />
        <orm:Join Type="INNER" LeftTable="Role" RightTable="Organization" RightAlias="Organization" LeftOriginalName="Role" LeftAlias="Role" RightOriginalName="Organization" JoinStyle="In">
          <orm:JoinKey LeftColumn="OrganizationGuid" RightColumn="OrganizationGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="Role" OriginalName="Role" Name="Role" JoinStyle="" RightAlias="Role" Schema="dbo">
          <orm:BuildColumn Name="RoleGuid" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="RoleName" Column="RoleName" Alias="RoleName" UseForDesc="true" OriginalName="RoleName" Caption="Role Name" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="Organization" OriginalName="Organization" Name="Organization" JoinStyle="In" RightAlias="Organization" Schema="dbo">
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationShortName" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationName" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="RoleGuid" TableName="Role" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleName" TableName="Role" Column="RoleName" Alias="RoleName" UseForDesc="true" OriginalName="RoleName" Caption="Role Name" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationGuid" TableName="Role" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationGuid" TableName="Organization" Column="OrganizationGuid" Alias="Organization_OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="4" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationSubtreeGuid" TableName="Organization" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentOrganizationGuid" TableName="Organization" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="6" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
        <orm:TableColumn Name="OrganizationShortName" TableName="Organization" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="7" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationName" TableName="Organization" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="8" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="0" ChildSPSet="User" TempTableName="User" ChildFlag="1" ChildName="User">
        <orm:WhereClause Clause="@RoleGuid=[RoleUser].[RoleGuid] AND @UserGuid=[User].[UserGuid]" />
        <orm:BuildTable Ordinal="0" TableName="User" OriginalName="User" Name="User" JoinStyle="" RightAlias="User" Schema="dbo">
          <orm:BuildColumn Name="UserGuid" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UserName" Column="UserName" Alias="UserName" UseForDesc="true" OriginalName="UserName" Caption="User Name" Ordinal="2" AllowNulls="false" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Salt" Column="Salt" Alias="Salt" UseForDesc="false" OriginalName="Salt" Caption="Salt" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Password" Column="Password" Alias="Password" UseForDesc="false" OriginalName="Password" Caption="Password" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FriendlyName" Column="FriendlyName" Alias="FriendlyName" UseForDesc="true" OriginalName="FriendlyName" Caption="Friendly Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FirstName" Column="FirstName" Alias="FirstName" UseForDesc="true" OriginalName="FirstName" Caption="First Name" Ordinal="6" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="LastName" Column="LastName" Alias="LastName" UseForDesc="true" OriginalName="LastName" Caption="Last Name" Ordinal="7" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="PreferedLanguage" Column="PreferedLanguage" Alias="PreferedLanguage" UseForDesc="false" OriginalName="PreferedLanguage" Caption="Prefered Language" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="DevelopmentUser" Column="DevelopmentUser" Alias="DevelopmentUser" UseForDesc="false" OriginalName="DevelopmentUser" Caption="Development User" Ordinal="9" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="RoleGuid" ChildTable="RoleUser" ChildAlias="RoleUser" ChildObject="User" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="Role" ParentAlias="Role" ParentObject="Role" ParentProperty="RoleGuid" />
        <orm:ChildKey ChildColumn="UserGuid" ChildTable="User" ChildAlias="User" ChildObject="User" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="RoleUser" ParentAlias="RoleUser" ParentObject="RoleUser" ParentProperty="UserGuid" />
        <orm:TableColumn Name="UserGuid" TableName="User" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UserName" TableName="User" Column="UserName" Alias="UserName" UseForDesc="true" OriginalName="UserName" Caption="User Name" Ordinal="2" AllowNulls="false" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Salt" TableName="User" Column="Salt" Alias="Salt" UseForDesc="false" OriginalName="Salt" Caption="Salt" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Password" TableName="User" Column="Password" Alias="Password" UseForDesc="false" OriginalName="Password" Caption="Password" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FriendlyName" TableName="User" Column="FriendlyName" Alias="FriendlyName" UseForDesc="true" OriginalName="FriendlyName" Caption="Friendly Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FirstName" TableName="User" Column="FirstName" Alias="FirstName" UseForDesc="true" OriginalName="FirstName" Caption="First Name" Ordinal="6" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="LastName" TableName="User" Column="LastName" Alias="LastName" UseForDesc="true" OriginalName="LastName" Caption="Last Name" Ordinal="7" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="PreferedLanguage" TableName="User" Column="PreferedLanguage" Alias="PreferedLanguage" UseForDesc="false" OriginalName="PreferedLanguage" Caption="Prefered Language" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="DevelopmentUser" TableName="User" Column="DevelopmentUser" Alias="DevelopmentUser" UseForDesc="false" OriginalName="DevelopmentUser" Caption="Development User" Ordinal="9" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="0" ChildSPSet="AppModule" TempTableName="AppModule" ChildFlag="2" ChildName="AppModule" kd:Distinct="true">
        <orm:WhereClause Clause="@RoleGuid=[RoleModule].[RoleGuid] AND @ModuleGuid=[AppModule].[ModuleGuid]" />
        <orm:BuildTable Ordinal="0" TableName="AppModule" OriginalName="AppModule" Name="AppModule" JoinStyle="" RightAlias="AppModule" Schema="dbo">
          <orm:BuildColumn Name="ModuleGuid" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="true" OriginalName="ModuleGuid" Caption="Module" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ModuleName" Column="ModuleName" Alias="ModuleName" UseForDesc="true" OriginalName="ModuleName" Caption="Module Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Ordinal" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="3" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" IsLocalizedProperty="true" />
          <orm:BuildColumn Name="CaptionFr" Column="CaptionFr" Alias="CaptionFr" UseForDesc="false" OriginalName="CaptionFr" Caption="Caption Fr" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CaptionDe" Column="CaptionDe" Alias="CaptionDe" UseForDesc="false" OriginalName="CaptionDe" Caption="Caption De" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CaptionAr" Column="CaptionAr" Alias="CaptionAr" UseForDesc="false" OriginalName="CaptionAr" Caption="Caption Ar" Ordinal="7" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CaptionEs" Column="CaptionEs" Alias="CaptionEs" UseForDesc="false" OriginalName="CaptionEs" Caption="Caption Es" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption1" Column="Caption1" Alias="Caption1" UseForDesc="false" OriginalName="Caption1" Caption="Caption 1" Ordinal="9" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption2" Column="Caption2" Alias="Caption2" UseForDesc="false" OriginalName="Caption2" Caption="Caption 2" Ordinal="10" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption3" Column="Caption3" Alias="Caption3" UseForDesc="false" OriginalName="Caption3" Caption="Caption 3" Ordinal="11" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption4" Column="Caption4" Alias="Caption4" UseForDesc="false" OriginalName="Caption4" Caption="Caption 4" Ordinal="12" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption5" Column="Caption5" Alias="Caption5" UseForDesc="false" OriginalName="Caption5" Caption="Caption 5" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorR1" Column="BaseColorR1" Alias="BaseColorR1" UseForDesc="false" OriginalName="BaseColorR1" Caption="Base Color R1" Ordinal="14" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorG1" Column="BaseColorG1" Alias="BaseColorG1" UseForDesc="false" OriginalName="BaseColorG1" Caption="Base Color G1" Ordinal="15" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorB1" Column="BaseColorB1" Alias="BaseColorB1" UseForDesc="false" OriginalName="BaseColorB1" Caption="Base Color B1" Ordinal="16" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorR2" Column="BaseColorR2" Alias="BaseColorR2" UseForDesc="false" OriginalName="BaseColorR2" Caption="Base Color R2" Ordinal="17" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorG2" Column="BaseColorG2" Alias="BaseColorG2" UseForDesc="false" OriginalName="BaseColorG2" Caption="Base Color G2" Ordinal="18" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorB2" Column="BaseColorB2" Alias="BaseColorB2" UseForDesc="false" OriginalName="BaseColorB2" Caption="Base Color B2" Ordinal="19" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorR3" Column="BaseColorR3" Alias="BaseColorR3" UseForDesc="false" OriginalName="BaseColorR3" Caption="Base Color R3" Ordinal="20" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorG3" Column="BaseColorG3" Alias="BaseColorG3" UseForDesc="false" OriginalName="BaseColorG3" Caption="Base Color G3" Ordinal="21" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorB3" Column="BaseColorB3" Alias="BaseColorB3" UseForDesc="false" OriginalName="BaseColorB3" Caption="Base Color B3" Ordinal="22" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="RoleGuid" ChildTable="RoleModule" ChildAlias="RoleModule" ChildObject="AppModule" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="Role" ParentAlias="Role" ParentObject="Role" ParentProperty="RoleGuid" />
        <orm:ChildKey ChildColumn="ModuleGuid" ChildTable="AppModule" ChildAlias="AppModule" ChildObject="AppModule" ChildProperty="ModuleGuid" ParentColumn="ModuleGuid" ParentTable="RoleModule" ParentAlias="RoleModule" ParentObject="RoleModule" ParentProperty="ModuleGuid" />
        <orm:TableColumn Name="ModuleGuid" TableName="AppModule" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="true" OriginalName="ModuleGuid" Caption="Module" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ModuleName" TableName="AppModule" Column="ModuleName" Alias="ModuleName" UseForDesc="true" OriginalName="ModuleName" Caption="Module Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Ordinal" TableName="AppModule" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="3" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption" TableName="AppModule" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" IsLocalizedProperty="true" />
        <orm:TableColumn Name="CaptionFr" TableName="AppModule" Column="CaptionFr" Alias="CaptionFr" UseForDesc="false" OriginalName="CaptionFr" Caption="Caption Fr" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CaptionDe" TableName="AppModule" Column="CaptionDe" Alias="CaptionDe" UseForDesc="false" OriginalName="CaptionDe" Caption="Caption De" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CaptionAr" TableName="AppModule" Column="CaptionAr" Alias="CaptionAr" UseForDesc="false" OriginalName="CaptionAr" Caption="Caption Ar" Ordinal="7" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CaptionEs" TableName="AppModule" Column="CaptionEs" Alias="CaptionEs" UseForDesc="false" OriginalName="CaptionEs" Caption="Caption Es" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption1" TableName="AppModule" Column="Caption1" Alias="Caption1" UseForDesc="false" OriginalName="Caption1" Caption="Caption 1" Ordinal="9" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption2" TableName="AppModule" Column="Caption2" Alias="Caption2" UseForDesc="false" OriginalName="Caption2" Caption="Caption 2" Ordinal="10" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption3" TableName="AppModule" Column="Caption3" Alias="Caption3" UseForDesc="false" OriginalName="Caption3" Caption="Caption 3" Ordinal="11" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption4" TableName="AppModule" Column="Caption4" Alias="Caption4" UseForDesc="false" OriginalName="Caption4" Caption="Caption 4" Ordinal="12" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption5" TableName="AppModule" Column="Caption5" Alias="Caption5" UseForDesc="false" OriginalName="Caption5" Caption="Caption 5" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorR1" TableName="AppModule" Column="BaseColorR1" Alias="BaseColorR1" UseForDesc="false" OriginalName="BaseColorR1" Caption="Base Color R1" Ordinal="14" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorG1" TableName="AppModule" Column="BaseColorG1" Alias="BaseColorG1" UseForDesc="false" OriginalName="BaseColorG1" Caption="Base Color G1" Ordinal="15" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorB1" TableName="AppModule" Column="BaseColorB1" Alias="BaseColorB1" UseForDesc="false" OriginalName="BaseColorB1" Caption="Base Color B1" Ordinal="16" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorR2" TableName="AppModule" Column="BaseColorR2" Alias="BaseColorR2" UseForDesc="false" OriginalName="BaseColorR2" Caption="Base Color R2" Ordinal="17" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorG2" TableName="AppModule" Column="BaseColorG2" Alias="BaseColorG2" UseForDesc="false" OriginalName="BaseColorG2" Caption="Base Color G2" Ordinal="18" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorB2" TableName="AppModule" Column="BaseColorB2" Alias="BaseColorB2" UseForDesc="false" OriginalName="BaseColorB2" Caption="Base Color B2" Ordinal="19" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorR3" TableName="AppModule" Column="BaseColorR3" Alias="BaseColorR3" UseForDesc="false" OriginalName="BaseColorR3" Caption="Base Color R3" Ordinal="20" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorG3" TableName="AppModule" Column="BaseColorG3" Alias="BaseColorG3" UseForDesc="false" OriginalName="BaseColorG3" Caption="Base Color G3" Ordinal="21" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorB3" TableName="AppModule" Column="BaseColorB3" Alias="BaseColorB3" UseForDesc="false" OriginalName="BaseColorB3" Caption="Base Color B3" Ordinal="22" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:OrderBy Name="Ordinal" Ordinal="0" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_Role" Task="Create">
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="Role" OriginalTable="Role" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="RoleName" Column="RoleName" Table="Role" OriginalTable="Role" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="Role" OriginalTable="Role" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_Role" Task="Retrieve">
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="Role" OriginalTable="Role" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_Role_By_RoleName" Task="Retrieve" Alternate="true">
        <orm:RunSPParam Name="RoleName" Column="RoleName" Table="Role" OriginalTable="Role" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Organization_Role" Task="RetrieveChild" TempParentTableName="Organization" TempChildTableName="Role" ParentObjectName="Organization" ForeignKeyName="Organization">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="Role" OriginalTable="Role" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_User_Role" Task="RetrieveChild" TempParentTableName="User" TempChildTableName="Role" ParentObjectName="User" ForeignKeyName="User">
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="Role" OriginalTable="Role" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:TableColumn Name="UserGuid" TableName="RoleUser" Column="UserGuid" Alias="UserGuid" UseForDesc="false" OriginalName="UserGuid" Caption="User" Ordinal="-1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_Role" Task="Update">
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="Role" OriginalTable="Role" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="RoleName" Column="RoleName" Table="Role" OriginalTable="Role" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="Role" OriginalTable="Role" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_Role" Task="Delete">
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="Role" OriginalTable="Role" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_Role" Task="SetSelect" />
      <orm:RunSP Name="SelectAll_Role_By_RoleName" Task="SetSelect" Alternate="true">
        <orm:RunSPParam Name="RoleName" Column="RoleName" Table="Role" OriginalTable="Role" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
    </orm:SPSet>
    <orm:SPSet Name="User" ObjectName="User" TableName="User" OriginalName="User" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="UserGuid" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@UserGuid=[User].[UserGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Role">
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="RoleUser" ChildObject="User" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="Role" ParentObject="Role" ParentProperty="RoleGuid" Ordinal="0" />
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="User" ChildObject="User" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="UserGuid" Ordinal="1" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="User" Schema="dbo">
        <orm:SetSelectColumn Name="UserGuid" IsPrimaryKey="true" Column="UserGuid" TableName="User" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="UserName" IsPrimaryKey="false" Column="UserName" TableName="User" SQLType="varchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FriendlyName" IsPrimaryKey="false" Column="FriendlyName" TableName="User" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FirstName" IsPrimaryKey="false" Column="FirstName" TableName="User" SQLType="varchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="LastName" IsPrimaryKey="false" Column="LastName" TableName="User" SQLType="varchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@UserGuid=[User].[UserGuid]" />
        <orm:BuildTable Ordinal="0" TableName="User" OriginalName="User" Name="User" JoinStyle="" RightAlias="User" Schema="dbo">
          <orm:BuildColumn Name="UserGuid" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UserName" Column="UserName" Alias="UserName" UseForDesc="true" OriginalName="UserName" Caption="User Name" Ordinal="2" AllowNulls="false" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Salt" Column="Salt" Alias="Salt" UseForDesc="false" OriginalName="Salt" Caption="Salt" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Password" Column="Password" Alias="Password" UseForDesc="false" OriginalName="Password" Caption="Password" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FriendlyName" Column="FriendlyName" Alias="FriendlyName" UseForDesc="true" OriginalName="FriendlyName" Caption="Friendly Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FirstName" Column="FirstName" Alias="FirstName" UseForDesc="true" OriginalName="FirstName" Caption="First Name" Ordinal="6" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="LastName" Column="LastName" Alias="LastName" UseForDesc="true" OriginalName="LastName" Caption="Last Name" Ordinal="7" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="PreferedLanguage" Column="PreferedLanguage" Alias="PreferedLanguage" UseForDesc="false" OriginalName="PreferedLanguage" Caption="Prefered Language" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="DevelopmentUser" Column="DevelopmentUser" Alias="DevelopmentUser" UseForDesc="false" OriginalName="DevelopmentUser" Caption="Development User" Ordinal="9" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="UserGuid" TableName="User" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UserName" TableName="User" Column="UserName" Alias="UserName" UseForDesc="true" OriginalName="UserName" Caption="User Name" Ordinal="2" AllowNulls="false" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Salt" TableName="User" Column="Salt" Alias="Salt" UseForDesc="false" OriginalName="Salt" Caption="Salt" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Password" TableName="User" Column="Password" Alias="Password" UseForDesc="false" OriginalName="Password" Caption="Password" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FriendlyName" TableName="User" Column="FriendlyName" Alias="FriendlyName" UseForDesc="true" OriginalName="FriendlyName" Caption="Friendly Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FirstName" TableName="User" Column="FirstName" Alias="FirstName" UseForDesc="true" OriginalName="FirstName" Caption="First Name" Ordinal="6" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="LastName" TableName="User" Column="LastName" Alias="LastName" UseForDesc="true" OriginalName="LastName" Caption="Last Name" Ordinal="7" AllowNulls="true" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="PreferedLanguage" TableName="User" Column="PreferedLanguage" Alias="PreferedLanguage" UseForDesc="false" OriginalName="PreferedLanguage" Caption="Prefered Language" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="DevelopmentUser" TableName="User" Column="DevelopmentUser" Alias="DevelopmentUser" UseForDesc="false" OriginalName="DevelopmentUser" Caption="Development User" Ordinal="9" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="User" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="Organization" TempTableName="Organization" ChildFlag="1" ChildName="Organization" kd:Distinct="true">
        <orm:WhereClause Clause="@UserGuid=[RoleUser].[UserGuid] AND @RoleGuid=[Role].[RoleGuid] AND @OrganizationGuid=[Organization].[OrganizationGuid]" />
        <orm:BuildTable Ordinal="0" TableName="Organization" OriginalName="Organization" Name="Organization" JoinStyle="" RightAlias="Organization" Schema="dbo">
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
          <orm:BuildColumn Name="OrganizationShortName" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationName" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildAlias="RoleUser" ChildObject="Organization" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentAlias="User" ParentObject="User" ParentProperty="UserGuid" />
        <orm:ChildKey ChildColumn="RoleGuid" ChildTable="Role" ChildAlias="Role" ChildObject="Organization" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentAlias="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
        <orm:ChildKey ChildColumn="OrganizationGuid" ChildTable="Organization" ChildAlias="Organization" ChildObject="Organization" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Role" ParentAlias="Role" ParentObject="Role" ParentProperty="OrganizationGuid" />
        <orm:TableColumn Name="OrganizationGuid" TableName="Organization" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationSubtreeGuid" TableName="Organization" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentOrganizationGuid" TableName="Organization" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
        <orm:TableColumn Name="OrganizationShortName" TableName="Organization" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationName" TableName="Organization" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="2" ChildSPSet="Role" TempTableName="Role" ChildFlag="2" ChildName="Role">
        <orm:WhereClause Clause="@UserGuid=[RoleUser].[UserGuid] AND @RoleGuid=[Role].[RoleGuid]" />
        <orm:Join Type="INNER" LeftTable="Role" RightTable="Organization" RightAlias="Organization" LeftOriginalName="Role" LeftAlias="Role" RightOriginalName="Organization" JoinStyle="In">
          <orm:JoinKey LeftColumn="OrganizationGuid" RightColumn="OrganizationGuid" SQLType="" IsAutoIncrement="false" LeafKeyIsPrimary="false" />
        </orm:Join>
        <orm:BuildTable Ordinal="0" TableName="Role" OriginalName="Role" Name="Role" JoinStyle="" RightAlias="Role" Schema="dbo">
          <orm:BuildColumn Name="RoleGuid" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="RoleName" Column="RoleName" Alias="RoleName" UseForDesc="true" OriginalName="RoleName" Caption="Role Name" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:BuildTable Ordinal="0" TableName="Organization" OriginalName="Organization" Name="Organization" JoinStyle="In" RightAlias="Organization" Schema="dbo">
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationShortName" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationName" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildAlias="RoleUser" ChildObject="Role" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentAlias="User" ParentObject="User" ParentProperty="UserGuid" />
        <orm:ChildKey ChildColumn="RoleGuid" ChildTable="Role" ChildAlias="Role" ChildObject="Role" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentAlias="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
        <orm:TableColumn Name="RoleGuid" TableName="Role" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleName" TableName="Role" Column="RoleName" Alias="RoleName" UseForDesc="true" OriginalName="RoleName" Caption="Role Name" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationGuid" TableName="Role" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Role" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationGuid" TableName="Organization" Column="OrganizationGuid" Alias="Organization_OrganizationGuid" UseForDesc="false" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="4" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationSubtreeGuid" TableName="Organization" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="5" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentOrganizationGuid" TableName="Organization" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="6" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
        <orm:TableColumn Name="OrganizationShortName" TableName="Organization" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="7" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationName" TableName="Organization" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="8" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet3" InsertPriority="0" ChildSPSet="AppModule" TempTableName="AppModule" ChildFlag="4" ChildName="AppModule">
        <orm:WhereClause Clause="@UserGuid=[RoleUser].[UserGuid] AND @RoleGuid=[RoleModule].[RoleGuid] AND @ModuleGuid=[AppModule].[ModuleGuid]" />
        <orm:BuildTable Ordinal="0" TableName="AppModule" OriginalName="AppModule" Name="AppModule" JoinStyle="" RightAlias="AppModule" Schema="dbo">
          <orm:BuildColumn Name="ModuleGuid" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="true" OriginalName="ModuleGuid" Caption="Module" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ModuleName" Column="ModuleName" Alias="ModuleName" UseForDesc="true" OriginalName="ModuleName" Caption="Module Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Ordinal" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="3" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" IsLocalizedProperty="true" />
          <orm:BuildColumn Name="CaptionFr" Column="CaptionFr" Alias="CaptionFr" UseForDesc="false" OriginalName="CaptionFr" Caption="Caption Fr" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CaptionDe" Column="CaptionDe" Alias="CaptionDe" UseForDesc="false" OriginalName="CaptionDe" Caption="Caption De" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CaptionAr" Column="CaptionAr" Alias="CaptionAr" UseForDesc="false" OriginalName="CaptionAr" Caption="Caption Ar" Ordinal="7" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CaptionEs" Column="CaptionEs" Alias="CaptionEs" UseForDesc="false" OriginalName="CaptionEs" Caption="Caption Es" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption1" Column="Caption1" Alias="Caption1" UseForDesc="false" OriginalName="Caption1" Caption="Caption 1" Ordinal="9" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption2" Column="Caption2" Alias="Caption2" UseForDesc="false" OriginalName="Caption2" Caption="Caption 2" Ordinal="10" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption3" Column="Caption3" Alias="Caption3" UseForDesc="false" OriginalName="Caption3" Caption="Caption 3" Ordinal="11" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption4" Column="Caption4" Alias="Caption4" UseForDesc="false" OriginalName="Caption4" Caption="Caption 4" Ordinal="12" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption5" Column="Caption5" Alias="Caption5" UseForDesc="false" OriginalName="Caption5" Caption="Caption 5" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorR1" Column="BaseColorR1" Alias="BaseColorR1" UseForDesc="false" OriginalName="BaseColorR1" Caption="Base Color R1" Ordinal="14" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorG1" Column="BaseColorG1" Alias="BaseColorG1" UseForDesc="false" OriginalName="BaseColorG1" Caption="Base Color G1" Ordinal="15" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorB1" Column="BaseColorB1" Alias="BaseColorB1" UseForDesc="false" OriginalName="BaseColorB1" Caption="Base Color B1" Ordinal="16" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorR2" Column="BaseColorR2" Alias="BaseColorR2" UseForDesc="false" OriginalName="BaseColorR2" Caption="Base Color R2" Ordinal="17" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorG2" Column="BaseColorG2" Alias="BaseColorG2" UseForDesc="false" OriginalName="BaseColorG2" Caption="Base Color G2" Ordinal="18" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorB2" Column="BaseColorB2" Alias="BaseColorB2" UseForDesc="false" OriginalName="BaseColorB2" Caption="Base Color B2" Ordinal="19" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorR3" Column="BaseColorR3" Alias="BaseColorR3" UseForDesc="false" OriginalName="BaseColorR3" Caption="Base Color R3" Ordinal="20" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorG3" Column="BaseColorG3" Alias="BaseColorG3" UseForDesc="false" OriginalName="BaseColorG3" Caption="Base Color G3" Ordinal="21" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="BaseColorB3" Column="BaseColorB3" Alias="BaseColorB3" UseForDesc="false" OriginalName="BaseColorB3" Caption="Base Color B3" Ordinal="22" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildAlias="RoleUser" ChildObject="AppModule" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentAlias="User" ParentObject="User" ParentProperty="UserGuid" />
        <orm:ChildKey ChildColumn="RoleGuid" ChildTable="RoleModule" ChildAlias="RoleModule" ChildObject="AppModule" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentAlias="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" />
        <orm:ChildKey ChildColumn="ModuleGuid" ChildTable="AppModule" ChildAlias="AppModule" ChildObject="AppModule" ChildProperty="ModuleGuid" ParentColumn="ModuleGuid" ParentTable="RoleModule" ParentAlias="RoleModule" ParentObject="RoleModule" ParentProperty="ModuleGuid" />
        <orm:TableColumn Name="ModuleGuid" TableName="AppModule" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="true" OriginalName="ModuleGuid" Caption="Module" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ModuleName" TableName="AppModule" Column="ModuleName" Alias="ModuleName" UseForDesc="true" OriginalName="ModuleName" Caption="Module Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Ordinal" TableName="AppModule" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="3" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption" TableName="AppModule" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" IsLocalizedProperty="true" />
        <orm:TableColumn Name="CaptionFr" TableName="AppModule" Column="CaptionFr" Alias="CaptionFr" UseForDesc="false" OriginalName="CaptionFr" Caption="Caption Fr" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CaptionDe" TableName="AppModule" Column="CaptionDe" Alias="CaptionDe" UseForDesc="false" OriginalName="CaptionDe" Caption="Caption De" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CaptionAr" TableName="AppModule" Column="CaptionAr" Alias="CaptionAr" UseForDesc="false" OriginalName="CaptionAr" Caption="Caption Ar" Ordinal="7" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CaptionEs" TableName="AppModule" Column="CaptionEs" Alias="CaptionEs" UseForDesc="false" OriginalName="CaptionEs" Caption="Caption Es" Ordinal="8" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption1" TableName="AppModule" Column="Caption1" Alias="Caption1" UseForDesc="false" OriginalName="Caption1" Caption="Caption 1" Ordinal="9" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption2" TableName="AppModule" Column="Caption2" Alias="Caption2" UseForDesc="false" OriginalName="Caption2" Caption="Caption 2" Ordinal="10" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption3" TableName="AppModule" Column="Caption3" Alias="Caption3" UseForDesc="false" OriginalName="Caption3" Caption="Caption 3" Ordinal="11" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption4" TableName="AppModule" Column="Caption4" Alias="Caption4" UseForDesc="false" OriginalName="Caption4" Caption="Caption 4" Ordinal="12" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption5" TableName="AppModule" Column="Caption5" Alias="Caption5" UseForDesc="false" OriginalName="Caption5" Caption="Caption 5" Ordinal="13" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorR1" TableName="AppModule" Column="BaseColorR1" Alias="BaseColorR1" UseForDesc="false" OriginalName="BaseColorR1" Caption="Base Color R1" Ordinal="14" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorG1" TableName="AppModule" Column="BaseColorG1" Alias="BaseColorG1" UseForDesc="false" OriginalName="BaseColorG1" Caption="Base Color G1" Ordinal="15" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorB1" TableName="AppModule" Column="BaseColorB1" Alias="BaseColorB1" UseForDesc="false" OriginalName="BaseColorB1" Caption="Base Color B1" Ordinal="16" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorR2" TableName="AppModule" Column="BaseColorR2" Alias="BaseColorR2" UseForDesc="false" OriginalName="BaseColorR2" Caption="Base Color R2" Ordinal="17" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorG2" TableName="AppModule" Column="BaseColorG2" Alias="BaseColorG2" UseForDesc="false" OriginalName="BaseColorG2" Caption="Base Color G2" Ordinal="18" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorB2" TableName="AppModule" Column="BaseColorB2" Alias="BaseColorB2" UseForDesc="false" OriginalName="BaseColorB2" Caption="Base Color B2" Ordinal="19" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorR3" TableName="AppModule" Column="BaseColorR3" Alias="BaseColorR3" UseForDesc="false" OriginalName="BaseColorR3" Caption="Base Color R3" Ordinal="20" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorG3" TableName="AppModule" Column="BaseColorG3" Alias="BaseColorG3" UseForDesc="false" OriginalName="BaseColorG3" Caption="Base Color G3" Ordinal="21" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="BaseColorB3" TableName="AppModule" Column="BaseColorB3" Alias="BaseColorB3" UseForDesc="false" OriginalName="BaseColorB3" Caption="Base Color B3" Ordinal="22" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="AppModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:OrderBy Name="Ordinal" Ordinal="0" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet4" InsertPriority="1" ChildSPSet="UserCulture" TempTableName="UserCulture" ChildFlag="8" ChildName="UserCulture">
        <orm:WhereClause Clause="@UserGuid=[UserCulture].[UserGuid]" />
        <orm:BuildTable Ordinal="0" TableName="UserCulture" OriginalName="UserCulture" Name="UserCulture" JoinStyle="" RightAlias="UserCulture" Schema="dbo">
          <orm:BuildColumn Name="UserCultureGuid" Column="UserCultureGuid" Alias="UserCultureGuid" UseForDesc="true" OriginalName="UserCultureGuid" Caption="User Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UserGuid" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CanRead" Column="CanRead" Alias="CanRead" UseForDesc="true" OriginalName="CanRead" Caption="Can Read" Ordinal="4" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CanWrite" Column="CanWrite" Alias="CanWrite" UseForDesc="true" OriginalName="CanWrite" Caption="Can Write" Ordinal="5" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="UserGuid" ChildTable="UserCulture" ChildAlias="UserCulture" ChildObject="UserCulture" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentAlias="User" ParentObject="User" ParentProperty="UserGuid" />
        <orm:TableColumn Name="UserCultureGuid" TableName="UserCulture" Column="UserCultureGuid" Alias="UserCultureGuid" UseForDesc="true" OriginalName="UserCultureGuid" Caption="User Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UserGuid" TableName="UserCulture" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="UserCulture" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CanRead" TableName="UserCulture" Column="CanRead" Alias="CanRead" UseForDesc="true" OriginalName="CanRead" Caption="Can Read" Ordinal="4" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CanWrite" TableName="UserCulture" Column="CanWrite" Alias="CanWrite" UseForDesc="true" OriginalName="CanWrite" Caption="Can Write" Ordinal="5" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet5" InsertPriority="3" ChildSPSet="RoleUser" TempTableName="RoleUser" ChildFlag="16" ChildName="RoleUser">
        <orm:WhereClause Clause="@UserGuid=[RoleUser].[UserGuid]" />
        <orm:BuildTable Ordinal="0" TableName="RoleUser" OriginalName="RoleUser" Name="RoleUser" JoinStyle="" RightAlias="RoleUser" Schema="dbo">
          <orm:BuildColumn Name="RoleUserGuid" Column="RoleUserGuid" Alias="RoleUserGuid" UseForDesc="true" OriginalName="RoleUserGuid" Caption="Role User" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="RoleGuid" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UserGuid" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildAlias="RoleUser" ChildObject="RoleUser" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentAlias="User" ParentObject="User" ParentProperty="UserGuid" />
        <orm:TableColumn Name="RoleUserGuid" TableName="RoleUser" Column="RoleUserGuid" Alias="RoleUserGuid" UseForDesc="true" OriginalName="RoleUserGuid" Caption="Role User" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleGuid" TableName="RoleUser" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UserGuid" TableName="RoleUser" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_User" Task="Create">
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="User" OriginalTable="User" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="UserName" Column="UserName" Table="User" OriginalTable="User" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Salt" Column="Salt" Table="User" OriginalTable="User" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Password" Column="Password" Table="User" OriginalTable="User" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FriendlyName" Column="FriendlyName" Table="User" OriginalTable="User" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="FirstName" Column="FirstName" Table="User" OriginalTable="User" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="LastName" Column="LastName" Table="User" OriginalTable="User" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="PreferedLanguage" Column="PreferedLanguage" Table="User" OriginalTable="User" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="DevelopmentUser" Column="DevelopmentUser" Table="User" OriginalTable="User" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_User" Task="Retrieve">
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="User" OriginalTable="User" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_User_By_UserName" Task="Retrieve" Alternate="true">
        <orm:RunSPParam Name="UserName" Column="UserName" Table="User" OriginalTable="User" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Role_User" Task="RetrieveChild" TempParentTableName="Role" TempChildTableName="User" ParentObjectName="Role" ForeignKeyName="Role">
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="User" OriginalTable="User" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:TableColumn Name="RoleGuid" TableName="RoleUser" Column="RoleGuid" Alias="RoleGuid" UseForDesc="false" OriginalName="RoleGuid" Caption="Role" Ordinal="-1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_User" Task="Update">
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="User" OriginalTable="User" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="UserName" Column="UserName" Table="User" OriginalTable="User" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Salt" Column="Salt" Table="User" OriginalTable="User" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Password" Column="Password" Table="User" OriginalTable="User" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FriendlyName" Column="FriendlyName" Table="User" OriginalTable="User" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="FirstName" Column="FirstName" Table="User" OriginalTable="User" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="LastName" Column="LastName" Table="User" OriginalTable="User" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="PreferedLanguage" Column="PreferedLanguage" Table="User" OriginalTable="User" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="DevelopmentUser" Column="DevelopmentUser" Table="User" OriginalTable="User" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_User" Task="Delete">
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="User" OriginalTable="User" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_User" Task="SetSelect" />
      <orm:RunSP Name="SelectAll_User_By_UserName" Task="SetSelect" Alternate="true">
        <orm:RunSPParam Name="UserName" Column="UserName" Table="User" OriginalTable="User" SQLType="varchar" NETType="System.String" MaxLength="20" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
    </orm:SPSet>
    <orm:SPSet Name="MenuStructure" ObjectName="MenuStructure" TableName="MenuStructure" OriginalName="MenuStructure" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" HasSelfJoin="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="MenuGuid" Column="MenuGuid" Alias="MenuGuid" UseForDesc="true" OriginalName="MenuGuid" Caption="Menu" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@MenuGuid=[MenuStructure].[MenuGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="MenuStructure">
          <orm:ForeignKey ChildColumn="ParentGuid" ChildTable="MenuStructure" ChildObject="MenuStructure" ChildProperty="ParentGuid" ParentColumn="MenuGuid" ParentTable="MenuStructure" ParentObject="MenuStructure" ParentProperty="MenuGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="AppModule">
          <orm:ForeignKey ChildColumn="ModuleGuid" ChildTable="MenuStructure" ChildObject="MenuStructure" ChildProperty="ModuleGuid" ParentColumn="ModuleGuid" ParentTable="AppModule" ParentObject="AppModule" ParentProperty="ModuleGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="MenuStructure" Schema="dbo">
        <orm:SetSelectColumn Name="MenuGuid" IsPrimaryKey="true" Column="MenuGuid" TableName="MenuStructure" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ResourceName" IsPrimaryKey="false" Column="ResourceName" TableName="MenuStructure" SQLType="nchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="1" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@MenuGuid=[MenuStructure].[MenuGuid]" />
        <orm:BuildTable Ordinal="0" TableName="MenuStructure" OriginalName="MenuStructure" Name="MenuStructure" JoinStyle="" RightAlias="MenuStructure" Schema="dbo">
          <orm:BuildColumn Name="MenuGuid" Column="MenuGuid" Alias="MenuGuid" UseForDesc="true" OriginalName="MenuGuid" Caption="Menu" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceName" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="2" AllowNulls="false" SQLType="nchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentGuid" Column="ParentGuid" Alias="ParentGuid" UseForDesc="false" OriginalName="ParentGuid" Caption="Parent" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Ordinal" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="4" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ModuleGuid" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="false" OriginalName="ModuleGuid" Caption="Module" Ordinal="5" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="MenuGuid" TableName="MenuStructure" Column="MenuGuid" Alias="MenuGuid" UseForDesc="true" OriginalName="MenuGuid" Caption="Menu" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceName" TableName="MenuStructure" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="2" AllowNulls="false" SQLType="nchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentGuid" TableName="MenuStructure" Column="ParentGuid" Alias="ParentGuid" UseForDesc="false" OriginalName="ParentGuid" Caption="Parent" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Ordinal" TableName="MenuStructure" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="4" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ModuleGuid" TableName="MenuStructure" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="false" OriginalName="ModuleGuid" Caption="Module" Ordinal="5" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="MenuStructure" TempTableName="ChildMenuStructure" ChildFlag="1" ChildName="MenuStructure">
        <orm:WhereClause Clause="@MenuGuid=[MenuStructure].[ParentGuid]" />
        <orm:BuildTable Ordinal="0" TableName="MenuStructure" OriginalName="MenuStructure" Name="MenuStructure" JoinStyle="" RightAlias="MenuStructure__1" Schema="dbo">
          <orm:BuildColumn Name="MenuGuid" Column="MenuGuid" Alias="MenuGuid" UseForDesc="true" OriginalName="MenuGuid" Caption="Menu" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ResourceName" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="2" AllowNulls="false" SQLType="nchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentGuid" Column="ParentGuid" Alias="ParentGuid" UseForDesc="false" OriginalName="ParentGuid" Caption="Parent" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Ordinal" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="4" AllowNulls="false" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ModuleGuid" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="false" OriginalName="ModuleGuid" Caption="Module" Ordinal="5" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="ParentGuid" ChildTable="MenuStructure" ChildAlias="MenuStructure" ChildObject="MenuStructure" ChildProperty="ParentGuid" ParentColumn="MenuGuid" ParentTable="MenuStructure" ParentAlias="MenuStructure" ParentObject="MenuStructure" ParentProperty="MenuGuid" />
        <orm:TableColumn Name="MenuGuid" TableName="MenuStructure" Column="MenuGuid" Alias="MenuGuid" UseForDesc="true" OriginalName="MenuGuid" Caption="Menu" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ResourceName" TableName="MenuStructure" Column="ResourceName" Alias="ResourceName" UseForDesc="true" OriginalName="ResourceName" Caption="Resource Name" Ordinal="2" AllowNulls="false" SQLType="nchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentGuid" TableName="MenuStructure" Column="ParentGuid" Alias="ParentGuid" UseForDesc="false" OriginalName="ParentGuid" Caption="Parent" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Ordinal" TableName="MenuStructure" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="4" AllowNulls="false" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ModuleGuid" TableName="MenuStructure" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="false" OriginalName="ModuleGuid" Caption="Module" Ordinal="5" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="MenuStructure__1" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_MenuStructure" Task="Create">
        <orm:RunSPParam Name="MenuGuid" Column="MenuGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceName" Column="ResourceName" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="nchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ParentGuid" Column="ParentGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Ordinal" Column="Ordinal" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_MenuStructure" Task="Retrieve">
        <orm:RunSPParam Name="MenuGuid" Column="MenuGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_MenuStructure_MenuStructure" Task="RetrieveChild" TempParentTableName="MenuStructure" TempChildTableName="ChildMenuStructure" ParentObjectName="MenuStructure" ForeignKeyName="MenuStructure">
        <orm:RunSPParam Name="ParentGuid" Column="ParentGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_AppModule_MenuStructure" Task="RetrieveChild" TempParentTableName="AppModule" TempChildTableName="MenuStructure" ParentObjectName="AppModule" ForeignKeyName="AppModule">
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="MenuStructure_SelectHierarchy" Task="RetrieveHierarchy">
        <orm:RunSPParam Name="MenuGuid" Column="MenuGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_MenuStructure" Task="Update">
        <orm:RunSPParam Name="MenuGuid" Column="MenuGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ResourceName" Column="ResourceName" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="nchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ParentGuid" Column="ParentGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Ordinal" Column="Ordinal" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_MenuStructure" Task="Delete">
        <orm:RunSPParam Name="MenuGuid" Column="MenuGuid" Table="MenuStructure" OriginalTable="MenuStructure" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_MenuStructure" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="FactoryItem" ObjectName="FactoryItem" TableName="FactoryItem" OriginalName="FactoryItem" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryItemGuid" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryItemGuid=[FactoryItem].[FactoryItemGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryPage">
          <orm:ForeignKey ChildColumn="FactoryPageGuid" ChildTable="FactoryItem" ChildObject="FactoryItem" ChildProperty="FactoryPageGuid" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="FactoryRecord">
          <orm:ForeignKey ChildColumn="FactoryRecordGuid" ChildTable="FactoryItem" ChildObject="FactoryItem" ChildProperty="FactoryRecordGuid" ParentColumn="FactoryRecordGuid" ParentTable="FactoryRecord" ParentObject="FactoryRecord" ParentProperty="FactoryRecordGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="FactoryItem" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryItemGuid" IsPrimaryKey="true" Column="FactoryItemGuid" TableName="FactoryItem" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryItemName" IsPrimaryKey="false" Column="FactoryItemName" TableName="FactoryItem" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="3" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryItemGuid=[FactoryItem].[FactoryItemGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryItem" OriginalName="FactoryItem" Name="FactoryItem" JoinStyle="" RightAlias="FactoryItem" Schema="dbo">
          <orm:BuildColumn Name="FactoryItemGuid" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordGuid" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="false" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryItemName" Column="FactoryItemName" Alias="FactoryItemName" UseForDesc="true" OriginalName="FactoryItemName" Caption="Factory Item Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ItemField" Column="ItemField" Alias="ItemField" UseForDesc="false" OriginalName="ItemField" Caption="Item Field" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryItemGuid" TableName="FactoryItem" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordGuid" TableName="FactoryItem" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="false" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryItem" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryItemName" TableName="FactoryItem" Column="FactoryItemName" Alias="FactoryItemName" UseForDesc="true" OriginalName="FactoryItemName" Caption="Factory Item Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ItemField" TableName="FactoryItem" Column="ItemField" Alias="ItemField" UseForDesc="false" OriginalName="ItemField" Caption="Item Field" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="4" ChildSPSet="FactoryItemDefault" TempTableName="FactoryItemDefault" ChildFlag="1" ChildName="FactoryItemDefault">
        <orm:WhereClause Clause="@FactoryItemGuid=[FactoryItemDefault].[FactoryItemGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryItemDefault" OriginalName="FactoryItemDefault" Name="FactoryItemDefault" JoinStyle="" RightAlias="FactoryItemDefault" Schema="dbo">
          <orm:BuildColumn Name="FactoryItemDetaultGuid" Column="FactoryItemDetaultGuid" Alias="FactoryItemDetaultGuid" UseForDesc="true" OriginalName="FactoryItemDetaultGuid" Caption="Factory Item Detault" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryItemGuid" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Value" Column="Value" Alias="Value" UseForDesc="true" OriginalName="Value" Caption="Value" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryItemGuid" ChildTable="FactoryItemDefault" ChildAlias="FactoryItemDefault" ChildObject="FactoryItemDefault" ChildProperty="FactoryItemGuid" ParentColumn="FactoryItemGuid" ParentTable="FactoryItem" ParentAlias="FactoryItem" ParentObject="FactoryItem" ParentProperty="FactoryItemGuid" />
        <orm:TableColumn Name="FactoryItemDetaultGuid" TableName="FactoryItemDefault" Column="FactoryItemDetaultGuid" Alias="FactoryItemDetaultGuid" UseForDesc="true" OriginalName="FactoryItemDetaultGuid" Caption="Factory Item Detault" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryItemGuid" TableName="FactoryItemDefault" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryChoiceGuid" TableName="FactoryItemDefault" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Value" TableName="FactoryItemDefault" Column="Value" Alias="Value" UseForDesc="true" OriginalName="Value" Caption="Value" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_FactoryItem" Task="Create">
        <orm:RunSPParam Name="FactoryItemGuid" Column="FactoryItemGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryRecordGuid" Column="FactoryRecordGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryItemName" Column="FactoryItemName" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ItemField" Column="ItemField" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_FactoryItem" Task="Retrieve">
        <orm:RunSPParam Name="FactoryItemGuid" Column="FactoryItemGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_FactoryPage_FactoryItem" Task="RetrieveChild" TempParentTableName="FactoryPage" TempChildTableName="FactoryItem" ParentObjectName="FactoryPage" ForeignKeyName="FactoryPage">
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_FactoryRecord_FactoryItem" Task="RetrieveChild" TempParentTableName="FactoryRecord" TempChildTableName="FactoryItem" ParentObjectName="FactoryRecord" ForeignKeyName="FactoryRecord">
        <orm:RunSPParam Name="FactoryRecordGuid" Column="FactoryRecordGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_FactoryItem" Task="Update">
        <orm:RunSPParam Name="FactoryItemGuid" Column="FactoryItemGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryRecordGuid" Column="FactoryRecordGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryItemName" Column="FactoryItemName" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ItemField" Column="ItemField" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_FactoryItem" Task="Delete">
        <orm:RunSPParam Name="FactoryItemGuid" Column="FactoryItemGuid" Table="FactoryItem" OriginalTable="FactoryItem" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_FactoryItem" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="FactoryPage" ObjectName="FactoryPage" TableName="FactoryPage" OriginalName="FactoryPage" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryPageGuid=[FactoryPage].[FactoryPageGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryChoice">
          <orm:ForeignKey ChildColumn="FactoryCallingChoiceGuid" ChildTable="FactoryPage" ChildObject="FactoryPage" ChildProperty="FactoryCallingChoiceGuid" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Factory">
          <orm:ForeignKey ChildColumn="FactoryGuid" ChildTable="FactoryPage" ChildObject="FactoryPage" ChildProperty="FactoryGuid" ParentColumn="FactoryGuid" ParentTable="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="FactoryPage" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryPageGuid" IsPrimaryKey="true" Column="FactoryPageGuid" TableName="FactoryPage" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryPageName" IsPrimaryKey="false" Column="FactoryPageName" TableName="FactoryPage" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="1" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryPageGuid=[FactoryPage].[FactoryPageGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryPage" OriginalName="FactoryPage" Name="FactoryPage" JoinStyle="" RightAlias="FactoryPage" Schema="dbo">
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryGuid" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryCallingChoiceGuid" Column="FactoryCallingChoiceGuid" Alias="FactoryCallingChoiceGuid" UseForDesc="false" OriginalName="FactoryCallingChoiceGuid" Caption="Factory Calling Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageName" Column="FactoryPageName" Alias="FactoryPageName" UseForDesc="true" OriginalName="FactoryPageName" Caption="Factory Page Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Ordinal" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="5" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryPage" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryGuid" TableName="FactoryPage" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryCallingChoiceGuid" TableName="FactoryPage" Column="FactoryCallingChoiceGuid" Alias="FactoryCallingChoiceGuid" UseForDesc="false" OriginalName="FactoryCallingChoiceGuid" Caption="Factory Calling Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageName" TableName="FactoryPage" Column="FactoryPageName" Alias="FactoryPageName" UseForDesc="true" OriginalName="FactoryPageName" Caption="Factory Page Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Ordinal" TableName="FactoryPage" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="5" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="2" ChildSPSet="FactoryChoice" TempTableName="FactoryChoice" ChildFlag="1" ChildName="FactoryChoice">
        <orm:WhereClause Clause="@FactoryPageGuid=[FactoryChoice].[FactoryPageGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryChoice" OriginalName="FactoryChoice" Name="FactoryChoice" JoinStyle="" RightAlias="FactoryChoice" Schema="dbo">
          <orm:BuildColumn Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryChoiceName" Column="FactoryChoiceName" Alias="FactoryChoiceName" UseForDesc="true" OriginalName="FactoryChoiceName" Caption="Factory Choice Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryPageGuid" ChildTable="FactoryChoice" ChildAlias="FactoryChoice" ChildObject="FactoryChoice" ChildProperty="FactoryPageGuid" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentAlias="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" />
        <orm:TableColumn Name="FactoryChoiceGuid" TableName="FactoryChoice" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoice" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryChoice" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoice" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryChoiceName" TableName="FactoryChoice" Column="FactoryChoiceName" Alias="FactoryChoiceName" UseForDesc="true" OriginalName="FactoryChoiceName" Caption="Factory Choice Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoice" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="3" ChildSPSet="FactoryItem" TempTableName="FactoryItem" ChildFlag="2" ChildName="FactoryItem">
        <orm:WhereClause Clause="@FactoryPageGuid=[FactoryItem].[FactoryPageGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryItem" OriginalName="FactoryItem" Name="FactoryItem" JoinStyle="" RightAlias="FactoryItem" Schema="dbo">
          <orm:BuildColumn Name="FactoryItemGuid" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordGuid" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="false" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryItemName" Column="FactoryItemName" Alias="FactoryItemName" UseForDesc="true" OriginalName="FactoryItemName" Caption="Factory Item Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ItemField" Column="ItemField" Alias="ItemField" UseForDesc="false" OriginalName="ItemField" Caption="Item Field" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryPageGuid" ChildTable="FactoryItem" ChildAlias="FactoryItem" ChildObject="FactoryItem" ChildProperty="FactoryPageGuid" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentAlias="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" />
        <orm:TableColumn Name="FactoryItemGuid" TableName="FactoryItem" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordGuid" TableName="FactoryItem" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="false" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryItem" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryItemName" TableName="FactoryItem" Column="FactoryItemName" Alias="FactoryItemName" UseForDesc="true" OriginalName="FactoryItemName" Caption="Factory Item Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ItemField" TableName="FactoryItem" Column="ItemField" Alias="ItemField" UseForDesc="false" OriginalName="ItemField" Caption="Item Field" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet3" InsertPriority="2" ChildSPSet="FactoryRecord" TempTableName="FactoryRecord" ChildFlag="4" ChildName="FactoryRecord">
        <orm:WhereClause Clause="@FactoryPageGuid=[FactoryRecord].[FactoryPageGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryRecord" OriginalName="FactoryRecord" Name="FactoryRecord" JoinStyle="" RightAlias="FactoryRecord" Schema="dbo">
          <orm:BuildColumn Name="FactoryRecordGuid" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="true" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordTable" Column="FactoryRecordTable" Alias="FactoryRecordTable" UseForDesc="true" OriginalName="FactoryRecordTable" Caption="Factory Record Table" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Alias="FactoryRecordActionGuid" UseForDesc="true" OriginalName="FactoryRecordActionGuid" Caption="Factory Record Action" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryPageGuid" ChildTable="FactoryRecord" ChildAlias="FactoryRecord" ChildObject="FactoryRecord" ChildProperty="FactoryPageGuid" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentAlias="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" />
        <orm:TableColumn Name="FactoryRecordGuid" TableName="FactoryRecord" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="true" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryRecord" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordTable" TableName="FactoryRecord" Column="FactoryRecordTable" Alias="FactoryRecordTable" UseForDesc="true" OriginalName="FactoryRecordTable" Caption="Factory Record Table" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordActionGuid" TableName="FactoryRecord" Column="FactoryRecordActionGuid" Alias="FactoryRecordActionGuid" UseForDesc="true" OriginalName="FactoryRecordActionGuid" Caption="Factory Record Action" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_FactoryPage" Task="Create">
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryCallingChoiceGuid" Column="FactoryCallingChoiceGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryPageName" Column="FactoryPageName" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Ordinal" Column="Ordinal" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_FactoryPage" Task="Retrieve">
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_FactoryChoice_FactoryPage" Task="RetrieveChild" TempParentTableName="FactoryChoice" TempChildTableName="FactoryPage" ParentObjectName="FactoryChoice" ForeignKeyName="FactoryChoice">
        <orm:RunSPParam Name="FactoryCallingChoiceGuid" Column="FactoryCallingChoiceGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Factory_FactoryPage" Task="RetrieveChild" TempParentTableName="Factory" TempChildTableName="FactoryPage" ParentObjectName="Factory" ForeignKeyName="Factory">
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_FactoryPage" Task="Update">
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryCallingChoiceGuid" Column="FactoryCallingChoiceGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryPageName" Column="FactoryPageName" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Ordinal" Column="Ordinal" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_FactoryPage" Task="Delete">
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryPage" OriginalTable="FactoryPage" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_FactoryPage" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="FactoryItemDefault" ObjectName="FactoryItemDefault" TableName="FactoryItemDefault" OriginalName="FactoryItemDefault" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryItemDetaultGuid" Column="FactoryItemDetaultGuid" Alias="FactoryItemDetaultGuid" UseForDesc="true" OriginalName="FactoryItemDetaultGuid" Caption="Factory Item Detault" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryItemDetaultGuid=[FactoryItemDefault].[FactoryItemDetaultGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryItem">
          <orm:ForeignKey ChildColumn="FactoryItemGuid" ChildTable="FactoryItemDefault" ChildObject="FactoryItemDefault" ChildProperty="FactoryItemGuid" ParentColumn="FactoryItemGuid" ParentTable="FactoryItem" ParentObject="FactoryItem" ParentProperty="FactoryItemGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="FactoryChoice">
          <orm:ForeignKey ChildColumn="FactoryChoiceGuid" ChildTable="FactoryItemDefault" ChildObject="FactoryItemDefault" ChildProperty="FactoryChoiceGuid" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="FactoryItemDefault" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryItemDetaultGuid" IsPrimaryKey="true" Column="FactoryItemDetaultGuid" TableName="FactoryItemDefault" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryItemGuid" IsPrimaryKey="false" Column="FactoryItemGuid" TableName="FactoryItemDefault" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryChoiceGuid" IsPrimaryKey="false" Column="FactoryChoiceGuid" TableName="FactoryItemDefault" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="Value" IsPrimaryKey="false" Column="Value" TableName="FactoryItemDefault" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="4" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryItemDetaultGuid=[FactoryItemDefault].[FactoryItemDetaultGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryItemDefault" OriginalName="FactoryItemDefault" Name="FactoryItemDefault" JoinStyle="" RightAlias="FactoryItemDefault" Schema="dbo">
          <orm:BuildColumn Name="FactoryItemDetaultGuid" Column="FactoryItemDetaultGuid" Alias="FactoryItemDetaultGuid" UseForDesc="true" OriginalName="FactoryItemDetaultGuid" Caption="Factory Item Detault" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryItemGuid" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Value" Column="Value" Alias="Value" UseForDesc="true" OriginalName="Value" Caption="Value" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryItemDetaultGuid" TableName="FactoryItemDefault" Column="FactoryItemDetaultGuid" Alias="FactoryItemDetaultGuid" UseForDesc="true" OriginalName="FactoryItemDetaultGuid" Caption="Factory Item Detault" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryItemGuid" TableName="FactoryItemDefault" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryChoiceGuid" TableName="FactoryItemDefault" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Value" TableName="FactoryItemDefault" Column="Value" Alias="Value" UseForDesc="true" OriginalName="Value" Caption="Value" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_FactoryItemDefault" Task="Create">
        <orm:RunSPParam Name="FactoryItemDetaultGuid" Column="FactoryItemDetaultGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryItemGuid" Column="FactoryItemGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Value" Column="Value" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_FactoryItemDefault" Task="Retrieve">
        <orm:RunSPParam Name="FactoryItemDetaultGuid" Column="FactoryItemDetaultGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_FactoryItem_FactoryItemDefault" Task="RetrieveChild" TempParentTableName="FactoryItem" TempChildTableName="FactoryItemDefault" ParentObjectName="FactoryItem" ForeignKeyName="FactoryItem">
        <orm:RunSPParam Name="FactoryItemGuid" Column="FactoryItemGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_FactoryChoice_FactoryItemDefault" Task="RetrieveChild" TempParentTableName="FactoryChoice" TempChildTableName="FactoryItemDefault" ParentObjectName="FactoryChoice" ForeignKeyName="FactoryChoice">
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_FactoryItemDefault" Task="Update">
        <orm:RunSPParam Name="FactoryItemDetaultGuid" Column="FactoryItemDetaultGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryItemGuid" Column="FactoryItemGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Value" Column="Value" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_FactoryItemDefault" Task="Delete">
        <orm:RunSPParam Name="FactoryItemDetaultGuid" Column="FactoryItemDetaultGuid" Table="FactoryItemDefault" OriginalTable="FactoryItemDefault" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_FactoryItemDefault" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="StringCategory" ObjectName="StringCategory" TableName="StringCategory" OriginalName="StringCategory" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="StringCategoryGuid" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="true" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@StringCategoryGuid=[StringCategory].[StringCategoryGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="StringCategory" Schema="dbo">
        <orm:SetSelectColumn Name="StringCategoryGuid" IsPrimaryKey="true" Column="StringCategoryGuid" TableName="StringCategory" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="Description" IsPrimaryKey="false" Column="Description" TableName="StringCategory" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@StringCategoryGuid=[StringCategory].[StringCategoryGuid]" />
        <orm:BuildTable Ordinal="0" TableName="StringCategory" OriginalName="StringCategory" Name="StringCategory" JoinStyle="" RightAlias="StringCategory" Schema="dbo">
          <orm:BuildColumn Name="StringCategoryGuid" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="true" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="StringCategoryGuid" TableName="StringCategory" Column="StringCategoryGuid" Alias="StringCategoryGuid" UseForDesc="true" OriginalName="StringCategoryGuid" Caption="String Category" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringCategory" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="StringCategory" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="StringCategory" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_StringCategory" Task="Create">
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringCategory" OriginalTable="StringCategory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Description" Column="Description" Table="StringCategory" OriginalTable="StringCategory" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_StringCategory" Task="Retrieve">
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringCategory" OriginalTable="StringCategory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_StringCategory" Task="Update">
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringCategory" OriginalTable="StringCategory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Description" Column="Description" Table="StringCategory" OriginalTable="StringCategory" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_StringCategory" Task="Delete">
        <orm:RunSPParam Name="StringCategoryGuid" Column="StringCategoryGuid" Table="StringCategory" OriginalTable="StringCategory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_StringCategory" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="OrganizationSubtree" ObjectName="OrganizationSubtree" TableName="OrganizationSubtree" OriginalName="OrganizationSubtree" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="true" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@OrganizationSubtreeGuid=[OrganizationSubtree].[OrganizationSubtreeGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="OrganizationSubtree" Schema="dbo">
        <orm:SetSelectColumn Name="OrganizationSubtreeGuid" IsPrimaryKey="true" Column="OrganizationSubtreeGuid" TableName="OrganizationSubtree" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="OrganizationSubtreeName" IsPrimaryKey="false" Column="OrganizationSubtreeName" TableName="OrganizationSubtree" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@OrganizationSubtreeGuid=[OrganizationSubtree].[OrganizationSubtreeGuid]" />
        <orm:BuildTable Ordinal="0" TableName="OrganizationSubtree" OriginalName="OrganizationSubtree" Name="OrganizationSubtree" JoinStyle="" RightAlias="OrganizationSubtree" Schema="dbo">
          <orm:BuildColumn Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="true" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationSubtreeName" Column="OrganizationSubtreeName" Alias="OrganizationSubtreeName" UseForDesc="true" OriginalName="OrganizationSubtreeName" Caption="Organization Subtree Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="OrganizationSubtreeGuid" TableName="OrganizationSubtree" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="true" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationSubtree" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationSubtreeName" TableName="OrganizationSubtree" Column="OrganizationSubtreeName" Alias="OrganizationSubtreeName" UseForDesc="true" OriginalName="OrganizationSubtreeName" Caption="Organization Subtree Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationSubtree" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="Organization" TempTableName="Organization" ChildFlag="1" ChildName="Organization">
        <orm:WhereClause Clause="@OrganizationSubtreeGuid=[Organization].[OrganizationSubtreeGuid]" />
        <orm:BuildTable Ordinal="0" TableName="Organization" OriginalName="Organization" Name="Organization" JoinStyle="" RightAlias="Organization" Schema="dbo">
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ParentOrganizationGuid" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
          <orm:BuildColumn Name="OrganizationShortName" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationName" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="OrganizationSubtreeGuid" ChildTable="Organization" ChildAlias="Organization" ChildObject="Organization" ChildProperty="OrganizationSubtreeGuid" ParentColumn="OrganizationSubtreeGuid" ParentTable="OrganizationSubtree" ParentAlias="OrganizationSubtree" ParentObject="OrganizationSubtree" ParentProperty="OrganizationSubtreeGuid" />
        <orm:TableColumn Name="OrganizationGuid" TableName="Organization" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationSubtreeGuid" TableName="Organization" Column="OrganizationSubtreeGuid" Alias="OrganizationSubtreeGuid" UseForDesc="false" OriginalName="OrganizationSubtreeGuid" Caption="Organization Subtree" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ParentOrganizationGuid" TableName="Organization" Column="ParentOrganizationGuid" Alias="ParentOrganizationGuid" UseForDesc="false" OriginalName="ParentOrganizationGuid" Caption="Parent Organization" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" test5="Test5 value" test6="Test6 value" test7="Test7 value" />
        <orm:TableColumn Name="OrganizationShortName" TableName="Organization" Column="OrganizationShortName" Alias="OrganizationShortName" UseForDesc="true" OriginalName="OrganizationShortName" Caption="Organization Short Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="30" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationName" TableName="Organization" Column="OrganizationName" Alias="OrganizationName" UseForDesc="true" OriginalName="OrganizationName" Caption="Organization Name" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="150" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Organization" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_OrganizationSubtree" Task="Create">
        <orm:RunSPParam Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Table="OrganizationSubtree" OriginalTable="OrganizationSubtree" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OrganizationSubtreeName" Column="OrganizationSubtreeName" Table="OrganizationSubtree" OriginalTable="OrganizationSubtree" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_OrganizationSubtree" Task="Retrieve">
        <orm:RunSPParam Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Table="OrganizationSubtree" OriginalTable="OrganizationSubtree" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_OrganizationSubtree" Task="Update">
        <orm:RunSPParam Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Table="OrganizationSubtree" OriginalTable="OrganizationSubtree" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OrganizationSubtreeName" Column="OrganizationSubtreeName" Table="OrganizationSubtree" OriginalTable="OrganizationSubtree" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_OrganizationSubtree" Task="Delete">
        <orm:RunSPParam Name="OrganizationSubtreeGuid" Column="OrganizationSubtreeGuid" Table="OrganizationSubtree" OriginalTable="OrganizationSubtree" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_OrganizationSubtree" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="LocalizedData" ObjectName="LocalizedData" TableName="LocalizedData" OriginalName="LocalizedData" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="LocalizedDataGuid" Column="LocalizedDataGuid" Alias="LocalizedDataGuid" UseForDesc="true" OriginalName="LocalizedDataGuid" Caption="Localized Data" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@LocalizedDataGuid=[LocalizedData].[LocalizedDataGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Culture">
          <orm:ForeignKey ChildColumn="PrimaryKeyGuid" ChildTable="LocalizedData" ChildObject="LocalizedData" ChildProperty="PrimaryKeyGuid" ParentColumn="CultureGuid" ParentTable="Culture" ParentObject="Culture" ParentProperty="CultureGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="AppModule">
          <orm:ForeignKey ChildColumn="PrimaryKeyGuid" ChildTable="LocalizedData" ChildObject="LocalizedData" ChildProperty="PrimaryKeyGuid" ParentColumn="ModuleGuid" ParentTable="AppModule" ParentObject="AppModule" ParentProperty="ModuleGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="LocalizedData" Schema="dbo">
        <orm:SetSelectColumn Name="LocalizedDataGuid" IsPrimaryKey="true" Column="LocalizedDataGuid" TableName="LocalizedData" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="TableName" IsPrimaryKey="false" Column="TableName" TableName="LocalizedData" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ColumnName" IsPrimaryKey="false" Column="ColumnName" TableName="LocalizedData" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@LocalizedDataGuid=[LocalizedData].[LocalizedDataGuid]" />
        <orm:BuildTable Ordinal="0" TableName="LocalizedData" OriginalName="LocalizedData" Name="LocalizedData" JoinStyle="" RightAlias="LocalizedData" Schema="dbo">
          <orm:BuildColumn Name="LocalizedDataGuid" Column="LocalizedDataGuid" Alias="LocalizedDataGuid" UseForDesc="true" OriginalName="LocalizedDataGuid" Caption="Localized Data" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="PrimaryKeyGuid" Column="PrimaryKeyGuid" Alias="PrimaryKeyGuid" UseForDesc="false" OriginalName="PrimaryKeyGuid" Caption="Primary Key" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="TableName" Column="TableName" Alias="TableName" UseForDesc="true" OriginalName="TableName" Caption="Table Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ColumnName" Column="ColumnName" Alias="ColumnName" UseForDesc="true" OriginalName="ColumnName" Caption="Column Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Value" Column="Value" Alias="Value" UseForDesc="false" OriginalName="Value" Caption="Value" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="LocalizedDataGuid" TableName="LocalizedData" Column="LocalizedDataGuid" Alias="LocalizedDataGuid" UseForDesc="true" OriginalName="LocalizedDataGuid" Caption="Localized Data" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="LocalizedData" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="2" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="PrimaryKeyGuid" TableName="LocalizedData" Column="PrimaryKeyGuid" Alias="PrimaryKeyGuid" UseForDesc="false" OriginalName="PrimaryKeyGuid" Caption="Primary Key" Ordinal="3" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="TableName" TableName="LocalizedData" Column="TableName" Alias="TableName" UseForDesc="true" OriginalName="TableName" Caption="Table Name" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ColumnName" TableName="LocalizedData" Column="ColumnName" Alias="ColumnName" UseForDesc="true" OriginalName="ColumnName" Caption="Column Name" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Value" TableName="LocalizedData" Column="Value" Alias="Value" UseForDesc="false" OriginalName="Value" Caption="Value" Ordinal="6" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="LocalizedData" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_LocalizedData" Task="Create">
        <orm:RunSPParam Name="LocalizedDataGuid" Column="LocalizedDataGuid" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="PrimaryKeyGuid" Column="PrimaryKeyGuid" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="TableName" Column="TableName" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="ColumnName" Column="ColumnName" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Value" Column="Value" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_LocalizedData" Task="Retrieve">
        <orm:RunSPParam Name="LocalizedDataGuid" Column="LocalizedDataGuid" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Culture_LocalizedData" Task="RetrieveChild" TempParentTableName="Culture" TempChildTableName="LocalizedData" ParentObjectName="Culture" ForeignKeyName="Culture">
        <orm:RunSPParam Name="PrimaryKeyGuid" Column="PrimaryKeyGuid" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_AppModule_LocalizedData" Task="RetrieveChild" TempParentTableName="AppModule" TempChildTableName="LocalizedData" ParentObjectName="AppModule" ForeignKeyName="AppModule">
        <orm:RunSPParam Name="PrimaryKeyGuid" Column="PrimaryKeyGuid" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Update_LocalizedData" Task="Update">
        <orm:RunSPParam Name="LocalizedDataGuid" Column="LocalizedDataGuid" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="PrimaryKeyGuid" Column="PrimaryKeyGuid" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="TableName" Column="TableName" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="ColumnName" Column="ColumnName" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Value" Column="Value" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_LocalizedData" Task="Delete">
        <orm:RunSPParam Name="LocalizedDataGuid" Column="LocalizedDataGuid" Table="LocalizedData" OriginalTable="LocalizedData" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_LocalizedData" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="UserCulture" ObjectName="UserCulture" TableName="UserCulture" OriginalName="UserCulture" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="UserCultureGuid" Column="UserCultureGuid" Alias="UserCultureGuid" UseForDesc="true" OriginalName="UserCultureGuid" Caption="User Culture" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@UserCultureGuid=[UserCulture].[UserCultureGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="UserCulture" ChildObject="UserCulture" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="UserCulture" Schema="dbo">
        <orm:SetSelectColumn Name="UserCultureGuid" IsPrimaryKey="true" Column="UserCultureGuid" TableName="UserCulture" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="UserGuid" IsPrimaryKey="false" Column="UserGuid" TableName="UserCulture" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="CultureId" IsPrimaryKey="false" Column="CultureId" TableName="UserCulture" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="CanRead" IsPrimaryKey="false" Column="CanRead" TableName="UserCulture" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="CanWrite" IsPrimaryKey="false" Column="CanWrite" TableName="UserCulture" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="1" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@UserCultureGuid=[UserCulture].[UserCultureGuid]" />
        <orm:BuildTable Ordinal="0" TableName="UserCulture" OriginalName="UserCulture" Name="UserCulture" JoinStyle="" RightAlias="UserCulture" Schema="dbo">
          <orm:BuildColumn Name="UserCultureGuid" Column="UserCultureGuid" Alias="UserCultureGuid" UseForDesc="true" OriginalName="UserCultureGuid" Caption="User Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UserGuid" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CanRead" Column="CanRead" Alias="CanRead" UseForDesc="true" OriginalName="CanRead" Caption="Can Read" Ordinal="4" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CanWrite" Column="CanWrite" Alias="CanWrite" UseForDesc="true" OriginalName="CanWrite" Caption="Can Write" Ordinal="5" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="UserCultureGuid" TableName="UserCulture" Column="UserCultureGuid" Alias="UserCultureGuid" UseForDesc="true" OriginalName="UserCultureGuid" Caption="User Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UserGuid" TableName="UserCulture" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="2" AllowNulls="true" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="UserCulture" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CanRead" TableName="UserCulture" Column="CanRead" Alias="CanRead" UseForDesc="true" OriginalName="CanRead" Caption="Can Read" Ordinal="4" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CanWrite" TableName="UserCulture" Column="CanWrite" Alias="CanWrite" UseForDesc="true" OriginalName="CanWrite" Caption="Can Write" Ordinal="5" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_UserCulture" Task="Create">
        <orm:RunSPParam Name="UserCultureGuid" Column="UserCultureGuid" Table="UserCulture" OriginalTable="UserCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="UserCulture" OriginalTable="UserCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="UserCulture" OriginalTable="UserCulture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CanRead" Column="CanRead" Table="UserCulture" OriginalTable="UserCulture" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CanWrite" Column="CanWrite" Table="UserCulture" OriginalTable="UserCulture" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_UserCulture" Task="Retrieve">
        <orm:RunSPParam Name="UserCultureGuid" Column="UserCultureGuid" Table="UserCulture" OriginalTable="UserCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_User_UserCulture" Task="RetrieveChild" TempParentTableName="User" TempChildTableName="UserCulture" ParentObjectName="User" ForeignKeyName="User">
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="UserCulture" OriginalTable="UserCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Update_UserCulture" Task="Update">
        <orm:RunSPParam Name="UserCultureGuid" Column="UserCultureGuid" Table="UserCulture" OriginalTable="UserCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="UserCulture" OriginalTable="UserCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="UserCulture" OriginalTable="UserCulture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="CanRead" Column="CanRead" Table="UserCulture" OriginalTable="UserCulture" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CanWrite" Column="CanWrite" Table="UserCulture" OriginalTable="UserCulture" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_UserCulture" Task="Delete">
        <orm:RunSPParam Name="UserCultureGuid" Column="UserCultureGuid" Table="UserCulture" OriginalTable="UserCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_UserCulture" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="UserSetting" ObjectName="UserSetting" TableName="UserSetting" OriginalName="UserSetting" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="UserSettingGuid" Column="UserSettingGuid" Alias="UserSettingGuid" UseForDesc="true" OriginalName="UserSettingGuid" Caption="User Setting" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@UserSettingGuid=[UserSetting].[UserSettingGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="UserSetting" Schema="dbo">
        <orm:SetSelectColumn Name="UserSettingGuid" IsPrimaryKey="true" Column="UserSettingGuid" TableName="UserSetting" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="SettingName" IsPrimaryKey="false" Column="SettingName" TableName="UserSetting" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@UserSettingGuid=[UserSetting].[UserSettingGuid]" />
        <orm:BuildTable Ordinal="0" TableName="UserSetting" OriginalName="UserSetting" Name="UserSetting" JoinStyle="" RightAlias="UserSetting" Schema="dbo">
          <orm:BuildColumn Name="UserSettingGuid" Column="UserSettingGuid" Alias="UserSettingGuid" UseForDesc="true" OriginalName="UserSettingGuid" Caption="User Setting" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UserGuid" Column="UserGuid" Alias="UserGuid" UseForDesc="false" OriginalName="UserGuid" Caption="User" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="SettingName" Column="SettingName" Alias="SettingName" UseForDesc="true" OriginalName="SettingName" Caption="Setting Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Setting" Column="Setting" Alias="Setting" UseForDesc="false" OriginalName="Setting" Caption="Setting" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="UserSettingGuid" TableName="UserSetting" Column="UserSettingGuid" Alias="UserSettingGuid" UseForDesc="true" OriginalName="UserSettingGuid" Caption="User Setting" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserSetting" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UserGuid" TableName="UserSetting" Column="UserGuid" Alias="UserGuid" UseForDesc="false" OriginalName="UserGuid" Caption="User" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserSetting" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="SettingName" TableName="UserSetting" Column="SettingName" Alias="SettingName" UseForDesc="true" OriginalName="SettingName" Caption="Setting Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserSetting" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Setting" TableName="UserSetting" Column="Setting" Alias="Setting" UseForDesc="false" OriginalName="Setting" Caption="Setting" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="UserSetting" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_UserSetting" Task="Create">
        <orm:RunSPParam Name="UserSettingGuid" Column="UserSettingGuid" Table="UserSetting" OriginalTable="UserSetting" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="UserSetting" OriginalTable="UserSetting" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="SettingName" Column="SettingName" Table="UserSetting" OriginalTable="UserSetting" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Setting" Column="Setting" Table="UserSetting" OriginalTable="UserSetting" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_UserSetting" Task="Retrieve">
        <orm:RunSPParam Name="UserSettingGuid" Column="UserSettingGuid" Table="UserSetting" OriginalTable="UserSetting" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_UserSetting" Task="Update">
        <orm:RunSPParam Name="UserSettingGuid" Column="UserSettingGuid" Table="UserSetting" OriginalTable="UserSetting" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="UserSetting" OriginalTable="UserSetting" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="SettingName" Column="SettingName" Table="UserSetting" OriginalTable="UserSetting" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Setting" Column="Setting" Table="UserSetting" OriginalTable="UserSetting" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_UserSetting" Task="Delete">
        <orm:RunSPParam Name="UserSettingGuid" Column="UserSettingGuid" Table="UserSetting" OriginalTable="UserSetting" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_UserSetting" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="RoleModule" ObjectName="RoleModule" TableName="RoleModule" OriginalName="RoleModule" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="RoleModuleGuid" Column="RoleModuleGuid" Alias="RoleModuleGuid" UseForDesc="true" OriginalName="RoleModuleGuid" Caption="Role Module" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@RoleModuleGuid=[RoleModule].[RoleModuleGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="RoleModule" Schema="dbo">
        <orm:SetSelectColumn Name="RoleModuleGuid" IsPrimaryKey="true" Column="RoleModuleGuid" TableName="RoleModule" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="RoleGuid" IsPrimaryKey="false" Column="RoleGuid" TableName="RoleModule" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="ModuleGuid" IsPrimaryKey="false" Column="ModuleGuid" TableName="RoleModule" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@RoleModuleGuid=[RoleModule].[RoleModuleGuid]" />
        <orm:BuildTable Ordinal="0" TableName="RoleModule" OriginalName="RoleModule" Name="RoleModule" JoinStyle="" RightAlias="RoleModule" Schema="dbo">
          <orm:BuildColumn Name="RoleModuleGuid" Column="RoleModuleGuid" Alias="RoleModuleGuid" UseForDesc="true" OriginalName="RoleModuleGuid" Caption="Role Module" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="RoleGuid" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ModuleGuid" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="true" OriginalName="ModuleGuid" Caption="Module" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="RoleModuleGuid" TableName="RoleModule" Column="RoleModuleGuid" Alias="RoleModuleGuid" UseForDesc="true" OriginalName="RoleModuleGuid" Caption="Role Module" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleGuid" TableName="RoleModule" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ModuleGuid" TableName="RoleModule" Column="ModuleGuid" Alias="ModuleGuid" UseForDesc="true" OriginalName="ModuleGuid" Caption="Module" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleModule" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_RoleModule" Task="Create">
        <orm:RunSPParam Name="RoleModuleGuid" Column="RoleModuleGuid" Table="RoleModule" OriginalTable="RoleModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="RoleModule" OriginalTable="RoleModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="RoleModule" OriginalTable="RoleModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_RoleModule" Task="Retrieve">
        <orm:RunSPParam Name="RoleModuleGuid" Column="RoleModuleGuid" Table="RoleModule" OriginalTable="RoleModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_RoleModule" Task="Update">
        <orm:RunSPParam Name="RoleModuleGuid" Column="RoleModuleGuid" Table="RoleModule" OriginalTable="RoleModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="RoleModule" OriginalTable="RoleModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="ModuleGuid" Column="ModuleGuid" Table="RoleModule" OriginalTable="RoleModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_RoleModule" Task="Delete">
        <orm:RunSPParam Name="RoleModuleGuid" Column="RoleModuleGuid" Table="RoleModule" OriginalTable="RoleModule" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_RoleModule" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="RoleUser" ObjectName="RoleUser" TableName="RoleUser" OriginalName="RoleUser" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="RoleUserGuid" Column="RoleUserGuid" Alias="RoleUserGuid" UseForDesc="true" OriginalName="RoleUserGuid" Caption="Role User" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@RoleUserGuid=[RoleUser].[RoleUserGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Role">
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="RoleUser" ChildObject="RoleUser" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="RoleUser" ParentObject="RoleUser" ParentProperty="RoleGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="User">
          <orm:ForeignKey ChildColumn="UserGuid" ChildTable="RoleUser" ChildObject="RoleUser" ChildProperty="UserGuid" ParentColumn="UserGuid" ParentTable="User" ParentObject="User" ParentProperty="UserGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="RoleUser" Schema="dbo">
        <orm:SetSelectColumn Name="RoleUserGuid" IsPrimaryKey="true" Column="RoleUserGuid" TableName="RoleUser" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="RoleGuid" IsPrimaryKey="false" Column="RoleGuid" TableName="RoleUser" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="UserGuid" IsPrimaryKey="false" Column="UserGuid" TableName="RoleUser" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="3" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@RoleUserGuid=[RoleUser].[RoleUserGuid]" />
        <orm:BuildTable Ordinal="0" TableName="RoleUser" OriginalName="RoleUser" Name="RoleUser" JoinStyle="" RightAlias="RoleUser" Schema="dbo">
          <orm:BuildColumn Name="RoleUserGuid" Column="RoleUserGuid" Alias="RoleUserGuid" UseForDesc="true" OriginalName="RoleUserGuid" Caption="Role User" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="RoleGuid" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="UserGuid" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="RoleUserGuid" TableName="RoleUser" Column="RoleUserGuid" Alias="RoleUserGuid" UseForDesc="true" OriginalName="RoleUserGuid" Caption="Role User" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleGuid" TableName="RoleUser" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="UserGuid" TableName="RoleUser" Column="UserGuid" Alias="UserGuid" UseForDesc="true" OriginalName="UserGuid" Caption="User" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="RoleUser" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_RoleUser" Task="Create">
        <orm:RunSPParam Name="RoleUserGuid" Column="RoleUserGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_RoleUser" Task="Retrieve">
        <orm:RunSPParam Name="RoleUserGuid" Column="RoleUserGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Role_RoleUser" Task="RetrieveChild" TempParentTableName="Role" TempChildTableName="RoleUser" ParentObjectName="Role" ForeignKeyName="Role">
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_User_RoleUser" Task="RetrieveChild" TempParentTableName="User" TempChildTableName="RoleUser" ParentObjectName="User" ForeignKeyName="User">
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_RoleUser" Task="Update">
        <orm:RunSPParam Name="RoleUserGuid" Column="RoleUserGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="UserGuid" Column="UserGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_RoleUser" Task="Delete">
        <orm:RunSPParam Name="RoleUserGuid" Column="RoleUserGuid" Table="RoleUser" OriginalTable="RoleUser" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_RoleUser" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="OrganizationCulture" ObjectName="OrganizationCulture" TableName="OrganizationCulture" OriginalName="OrganizationCulture" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="OrganizationCultureGuid" Column="OrganizationCultureGuid" Alias="OrganizationCultureGuid" UseForDesc="true" OriginalName="OrganizationCultureGuid" Caption="Organization Culture" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@OrganizationCultureGuid=[OrganizationCulture].[OrganizationCultureGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Organization">
          <orm:ForeignKey ChildColumn="OrganizationGuid" ChildTable="OrganizationCulture" ChildObject="OrganizationCulture" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="OrganizationCulture" Schema="dbo">
        <orm:SetSelectColumn Name="OrganizationCultureGuid" IsPrimaryKey="true" Column="OrganizationCultureGuid" TableName="OrganizationCulture" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="OrganizationGuid" IsPrimaryKey="false" Column="OrganizationGuid" TableName="OrganizationCulture" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="CultureId" IsPrimaryKey="false" Column="CultureId" TableName="OrganizationCulture" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="2" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@OrganizationCultureGuid=[OrganizationCulture].[OrganizationCultureGuid]" />
        <orm:BuildTable Ordinal="0" TableName="OrganizationCulture" OriginalName="OrganizationCulture" Name="OrganizationCulture" JoinStyle="" RightAlias="OrganizationCulture" Schema="dbo">
          <orm:BuildColumn Name="OrganizationCultureGuid" Column="OrganizationCultureGuid" Alias="OrganizationCultureGuid" UseForDesc="true" OriginalName="OrganizationCultureGuid" Caption="Organization Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="OrganizationCultureGuid" TableName="OrganizationCulture" Column="OrganizationCultureGuid" Alias="OrganizationCultureGuid" UseForDesc="true" OriginalName="OrganizationCultureGuid" Caption="Organization Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="OrganizationGuid" TableName="OrganizationCulture" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="OrganizationCulture" Column="CultureId" Alias="CultureId" UseForDesc="true" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_OrganizationCulture" Task="Create">
        <orm:RunSPParam Name="OrganizationCultureGuid" Column="OrganizationCultureGuid" Table="OrganizationCulture" OriginalTable="OrganizationCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="OrganizationCulture" OriginalTable="OrganizationCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="OrganizationCulture" OriginalTable="OrganizationCulture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_OrganizationCulture" Task="Retrieve">
        <orm:RunSPParam Name="OrganizationCultureGuid" Column="OrganizationCultureGuid" Table="OrganizationCulture" OriginalTable="OrganizationCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Organization_OrganizationCulture" Task="RetrieveChild" TempParentTableName="Organization" TempChildTableName="OrganizationCulture" ParentObjectName="Organization" ForeignKeyName="Organization">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="OrganizationCulture" OriginalTable="OrganizationCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_OrganizationCulture" Task="Update">
        <orm:RunSPParam Name="OrganizationCultureGuid" Column="OrganizationCultureGuid" Table="OrganizationCulture" OriginalTable="OrganizationCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="OrganizationCulture" OriginalTable="OrganizationCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="OrganizationCulture" OriginalTable="OrganizationCulture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_OrganizationCulture" Task="Delete">
        <orm:RunSPParam Name="OrganizationCultureGuid" Column="OrganizationCultureGuid" Table="OrganizationCulture" OriginalTable="OrganizationCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_OrganizationCulture" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="FactoryRole" ObjectName="FactoryRole" TableName="FactoryRole" OriginalName="FactoryRole" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryRoleGuid" Column="FactoryRoleGuid" Alias="FactoryRoleGuid" UseForDesc="true" OriginalName="FactoryRoleGuid" Caption="Factory Role" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryRoleGuid=[FactoryRole].[FactoryRoleGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Role">
          <orm:ForeignKey ChildColumn="RoleGuid" ChildTable="FactoryRole" ChildObject="FactoryRole" ChildProperty="RoleGuid" ParentColumn="RoleGuid" ParentTable="FactoryRole" ParentObject="FactoryRole" ParentProperty="RoleGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="Factory">
          <orm:ForeignKey ChildColumn="FactoryGuid" ChildTable="FactoryRole" ChildObject="FactoryRole" ChildProperty="FactoryGuid" ParentColumn="FactoryGuid" ParentTable="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="FactoryRole" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryRoleGuid" IsPrimaryKey="true" Column="FactoryRoleGuid" TableName="FactoryRole" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryGuid" IsPrimaryKey="false" Column="FactoryGuid" TableName="FactoryRole" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="RoleGuid" IsPrimaryKey="false" Column="RoleGuid" TableName="FactoryRole" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="CanRun" IsPrimaryKey="false" Column="CanRun" TableName="FactoryRole" SQLType="bit" BaseNETType="System.Boolean" NETType="System.Boolean" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="3" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryRoleGuid=[FactoryRole].[FactoryRoleGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryRole" OriginalName="FactoryRole" Name="FactoryRole" JoinStyle="" RightAlias="FactoryRole" Schema="dbo">
          <orm:BuildColumn Name="FactoryRoleGuid" Column="FactoryRoleGuid" Alias="FactoryRoleGuid" UseForDesc="true" OriginalName="FactoryRoleGuid" Caption="Factory Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryGuid" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="true" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="RoleGuid" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CanRun" Column="CanRun" Alias="CanRun" UseForDesc="true" OriginalName="CanRun" Caption="Can Run" Ordinal="4" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryRoleGuid" TableName="FactoryRole" Column="FactoryRoleGuid" Alias="FactoryRoleGuid" UseForDesc="true" OriginalName="FactoryRoleGuid" Caption="Factory Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRole" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryGuid" TableName="FactoryRole" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="true" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRole" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleGuid" TableName="FactoryRole" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRole" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CanRun" TableName="FactoryRole" Column="CanRun" Alias="CanRun" UseForDesc="true" OriginalName="CanRun" Caption="Can Run" Ordinal="4" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRole" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_FactoryRole" Task="Create">
        <orm:RunSPParam Name="FactoryRoleGuid" Column="FactoryRoleGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CanRun" Column="CanRun" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_FactoryRole" Task="Retrieve">
        <orm:RunSPParam Name="FactoryRoleGuid" Column="FactoryRoleGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Role_FactoryRole" Task="RetrieveChild" TempParentTableName="Role" TempChildTableName="FactoryRole" ParentObjectName="Role" ForeignKeyName="Role">
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Factory_FactoryRole" Task="RetrieveChild" TempParentTableName="Factory" TempChildTableName="FactoryRole" ParentObjectName="Factory" ForeignKeyName="Factory">
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_FactoryRole" Task="Update">
        <orm:RunSPParam Name="FactoryRoleGuid" Column="FactoryRoleGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="RoleGuid" Column="RoleGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CanRun" Column="CanRun" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_FactoryRole" Task="Delete">
        <orm:RunSPParam Name="FactoryRoleGuid" Column="FactoryRoleGuid" Table="FactoryRole" OriginalTable="FactoryRole" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_FactoryRole" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="FactoryCulture" ObjectName="FactoryCulture" TableName="FactoryCulture" OriginalName="FactoryCulture" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryCultureGuid" Column="FactoryCultureGuid" Alias="FactoryCultureGuid" UseForDesc="true" OriginalName="FactoryCultureGuid" Caption="Factory Culture" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryCultureGuid=[FactoryCulture].[FactoryCultureGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Factory">
          <orm:ForeignKey ChildColumn="FactoryGuid" ChildTable="FactoryCulture" ChildObject="FactoryCulture" ChildProperty="FactoryGuid" ParentColumn="FactoryGuid" ParentTable="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="FactoryCulture" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryCultureGuid" IsPrimaryKey="true" Column="FactoryCultureGuid" TableName="FactoryCulture" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="Description" IsPrimaryKey="false" Column="Description" TableName="FactoryCulture" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="1" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryCultureGuid=[FactoryCulture].[FactoryCultureGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryCulture" OriginalName="FactoryCulture" Name="FactoryCulture" JoinStyle="" RightAlias="FactoryCulture" Schema="dbo">
          <orm:BuildColumn Name="FactoryCultureGuid" Column="FactoryCultureGuid" Alias="FactoryCultureGuid" UseForDesc="true" OriginalName="FactoryCultureGuid" Caption="Factory Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryGuid" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryCultureGuid" TableName="FactoryCulture" Column="FactoryCultureGuid" Alias="FactoryCultureGuid" UseForDesc="true" OriginalName="FactoryCultureGuid" Caption="Factory Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryGuid" TableName="FactoryCulture" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="FactoryCulture" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption" TableName="FactoryCulture" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="FactoryCulture" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_FactoryCulture" Task="Create">
        <orm:RunSPParam Name="FactoryCultureGuid" Column="FactoryCultureGuid" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Caption" Column="Caption" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Description" Column="Description" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_FactoryCulture" Task="Retrieve">
        <orm:RunSPParam Name="FactoryCultureGuid" Column="FactoryCultureGuid" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Factory_FactoryCulture" Task="RetrieveChild" TempParentTableName="Factory" TempChildTableName="FactoryCulture" ParentObjectName="Factory" ForeignKeyName="Factory">
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_FactoryCulture" Task="Update">
        <orm:RunSPParam Name="FactoryCultureGuid" Column="FactoryCultureGuid" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Caption" Column="Caption" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Description" Column="Description" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_FactoryCulture" Task="Delete">
        <orm:RunSPParam Name="FactoryCultureGuid" Column="FactoryCultureGuid" Table="FactoryCulture" OriginalTable="FactoryCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_FactoryCulture" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="FactoryChoiceCulture" ObjectName="FactoryChoiceCulture" TableName="FactoryChoiceCulture" OriginalName="FactoryChoiceCulture" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryChoiceCultureGuid" Column="FactoryChoiceCultureGuid" Alias="FactoryChoiceCultureGuid" UseForDesc="true" OriginalName="FactoryChoiceCultureGuid" Caption="Factory Choice Culture" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryChoiceCultureGuid=[FactoryChoiceCulture].[FactoryChoiceCultureGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryChoice">
          <orm:ForeignKey ChildColumn="FactoryChoiceGuid" ChildTable="FactoryChoiceCulture" ChildObject="FactoryChoiceCulture" ChildProperty="FactoryChoiceGuid" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="FactoryChoiceCulture" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryChoiceCultureGuid" IsPrimaryKey="true" Column="FactoryChoiceCultureGuid" TableName="FactoryChoiceCulture" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="Description" IsPrimaryKey="false" Column="Description" TableName="FactoryChoiceCulture" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="3" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryChoiceCultureGuid=[FactoryChoiceCulture].[FactoryChoiceCultureGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryChoiceCulture" OriginalName="FactoryChoiceCulture" Name="FactoryChoiceCulture" JoinStyle="" RightAlias="FactoryChoiceCulture" Schema="dbo">
          <orm:BuildColumn Name="FactoryChoiceCultureGuid" Column="FactoryChoiceCultureGuid" Alias="FactoryChoiceCultureGuid" UseForDesc="true" OriginalName="FactoryChoiceCultureGuid" Caption="Factory Choice Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="false" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryChoiceCultureGuid" TableName="FactoryChoiceCulture" Column="FactoryChoiceCultureGuid" Alias="FactoryChoiceCultureGuid" UseForDesc="true" OriginalName="FactoryChoiceCultureGuid" Caption="Factory Choice Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryChoiceGuid" TableName="FactoryChoiceCulture" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="false" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="FactoryChoiceCulture" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption" TableName="FactoryChoiceCulture" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="FactoryChoiceCulture" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_FactoryChoiceCulture" Task="Create">
        <orm:RunSPParam Name="FactoryChoiceCultureGuid" Column="FactoryChoiceCultureGuid" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Caption" Column="Caption" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Description" Column="Description" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Select_FactoryChoiceCulture" Task="Retrieve">
        <orm:RunSPParam Name="FactoryChoiceCultureGuid" Column="FactoryChoiceCultureGuid" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_FactoryChoice_FactoryChoiceCulture" Task="RetrieveChild" TempParentTableName="FactoryChoice" TempChildTableName="FactoryChoiceCulture" ParentObjectName="FactoryChoice" ForeignKeyName="FactoryChoice">
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_FactoryChoiceCulture" Task="Update">
        <orm:RunSPParam Name="FactoryChoiceCultureGuid" Column="FactoryChoiceCultureGuid" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="CultureId" Column="CultureId" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Caption" Column="Caption" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
        <orm:RunSPParam Name="Description" Column="Description" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="true" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_FactoryChoiceCulture" Task="Delete">
        <orm:RunSPParam Name="FactoryChoiceCultureGuid" Column="FactoryChoiceCultureGuid" Table="FactoryChoiceCulture" OriginalTable="FactoryChoiceCulture" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_FactoryChoiceCulture" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="OrganizationAccess" ObjectName="OrganizationAccess" TableName="OrganizationAccess" OriginalName="OrganizationAccess" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@OrganizationGuid=[OrganizationAccess].[OrganizationGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="Organization">
          <orm:ForeignKey ChildColumn="OrganizationGuid" ChildTable="OrganizationAccess" ChildObject="OrganizationAccess" ChildProperty="OrganizationGuid" ParentColumn="OrganizationGuid" ParentTable="Organization" ParentObject="Organization" ParentProperty="OrganizationGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="OrganizationAccess" Schema="dbo">
        <orm:SetSelectColumn Name="OrganizationGuid" IsPrimaryKey="true" Column="OrganizationGuid" TableName="OrganizationAccess" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="Access" IsPrimaryKey="false" Column="Access" TableName="OrganizationAccess" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="2" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@OrganizationGuid=[OrganizationAccess].[OrganizationGuid]" />
        <orm:BuildTable Ordinal="0" TableName="OrganizationAccess" OriginalName="OrganizationAccess" Name="OrganizationAccess" JoinStyle="" RightAlias="OrganizationAccess" Schema="dbo">
          <orm:BuildColumn Name="OrganizationGuid" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Access" Column="Access" Alias="Access" UseForDesc="true" OriginalName="Access" Caption="Access" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="OrganizationGuid" TableName="OrganizationAccess" Column="OrganizationGuid" Alias="OrganizationGuid" UseForDesc="true" OriginalName="OrganizationGuid" Caption="Organization" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationAccess" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Access" TableName="OrganizationAccess" Column="Access" Alias="Access" UseForDesc="true" OriginalName="Access" Caption="Access" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="OrganizationAccess" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_OrganizationAccess" Task="Create">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="OrganizationAccess" OriginalTable="OrganizationAccess" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Access" Column="Access" Table="OrganizationAccess" OriginalTable="OrganizationAccess" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_OrganizationAccess" Task="Retrieve">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="OrganizationAccess" OriginalTable="OrganizationAccess" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_Organization_OrganizationAccess" Task="RetrieveChild" TempParentTableName="Organization" TempChildTableName="OrganizationAccess" ParentObjectName="Organization" ForeignKeyName="Organization">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="OrganizationAccess" OriginalTable="OrganizationAccess" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_OrganizationAccess" Task="Update">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="OrganizationAccess" OriginalTable="OrganizationAccess" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="Access" Column="Access" Table="OrganizationAccess" OriginalTable="OrganizationAccess" SQLType="nvarchar" NETType="System.String" MaxLength="200" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_OrganizationAccess" Task="Delete">
        <orm:RunSPParam Name="OrganizationGuid" Column="OrganizationGuid" Table="OrganizationAccess" OriginalTable="OrganizationAccess" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_OrganizationAccess" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="FactoryRecordAction" ObjectName="FactoryRecordAction" TableName="FactoryRecordAction" OriginalName="FactoryRecordAction" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Alias="FactoryRecordActionGuid" UseForDesc="true" OriginalName="FactoryRecordActionGuid" Caption="Factory Record Action" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryRecordActionGuid=[FactoryRecordAction].[FactoryRecordActionGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="FactoryRecordAction" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryRecordActionGuid" IsPrimaryKey="true" Column="FactoryRecordActionGuid" TableName="FactoryRecordAction" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryRecordActionName" IsPrimaryKey="false" Column="FactoryRecordActionName" TableName="FactoryRecordAction" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryRecordActionGuid=[FactoryRecordAction].[FactoryRecordActionGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryRecordAction" OriginalName="FactoryRecordAction" Name="FactoryRecordAction" JoinStyle="" RightAlias="FactoryRecordAction" Schema="dbo">
          <orm:BuildColumn Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Alias="FactoryRecordActionGuid" UseForDesc="true" OriginalName="FactoryRecordActionGuid" Caption="Factory Record Action" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordActionName" Column="FactoryRecordActionName" Alias="FactoryRecordActionName" UseForDesc="true" OriginalName="FactoryRecordActionName" Caption="Factory Record Action Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryRecordActionGuid" TableName="FactoryRecordAction" Column="FactoryRecordActionGuid" Alias="FactoryRecordActionGuid" UseForDesc="true" OriginalName="FactoryRecordActionGuid" Caption="Factory Record Action" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecordAction" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordActionName" TableName="FactoryRecordAction" Column="FactoryRecordActionName" Alias="FactoryRecordActionName" UseForDesc="true" OriginalName="FactoryRecordActionName" Caption="Factory Record Action Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecordAction" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="2" ChildSPSet="FactoryRecord" TempTableName="FactoryRecord" ChildFlag="1" ChildName="FactoryRecord">
        <orm:WhereClause Clause="@FactoryRecordActionGuid=[FactoryRecord].[FactoryRecordActionGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryRecord" OriginalName="FactoryRecord" Name="FactoryRecord" JoinStyle="" RightAlias="FactoryRecord" Schema="dbo">
          <orm:BuildColumn Name="FactoryRecordGuid" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="true" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordTable" Column="FactoryRecordTable" Alias="FactoryRecordTable" UseForDesc="true" OriginalName="FactoryRecordTable" Caption="Factory Record Table" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Alias="FactoryRecordActionGuid" UseForDesc="true" OriginalName="FactoryRecordActionGuid" Caption="Factory Record Action" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryRecordActionGuid" ChildTable="FactoryRecord" ChildAlias="FactoryRecord" ChildObject="FactoryRecord" ChildProperty="FactoryRecordActionGuid" ParentColumn="FactoryRecordActionGuid" ParentTable="FactoryRecordAction" ParentAlias="FactoryRecordAction" ParentObject="FactoryRecordAction" ParentProperty="FactoryRecordActionGuid" />
        <orm:TableColumn Name="FactoryRecordGuid" TableName="FactoryRecord" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="true" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryRecord" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordTable" TableName="FactoryRecord" Column="FactoryRecordTable" Alias="FactoryRecordTable" UseForDesc="true" OriginalName="FactoryRecordTable" Caption="Factory Record Table" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordActionGuid" TableName="FactoryRecord" Column="FactoryRecordActionGuid" Alias="FactoryRecordActionGuid" UseForDesc="true" OriginalName="FactoryRecordActionGuid" Caption="Factory Record Action" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_FactoryRecordAction" Task="Create">
        <orm:RunSPParam Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Table="FactoryRecordAction" OriginalTable="FactoryRecordAction" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryRecordActionName" Column="FactoryRecordActionName" Table="FactoryRecordAction" OriginalTable="FactoryRecordAction" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_FactoryRecordAction" Task="Retrieve">
        <orm:RunSPParam Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Table="FactoryRecordAction" OriginalTable="FactoryRecordAction" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_FactoryRecordAction" Task="Update">
        <orm:RunSPParam Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Table="FactoryRecordAction" OriginalTable="FactoryRecordAction" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryRecordActionName" Column="FactoryRecordActionName" Table="FactoryRecordAction" OriginalTable="FactoryRecordAction" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_FactoryRecordAction" Task="Delete">
        <orm:RunSPParam Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Table="FactoryRecordAction" OriginalTable="FactoryRecordAction" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_FactoryRecordAction" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="FactoryRecord" ObjectName="FactoryRecord" TableName="FactoryRecord" OriginalName="FactoryRecord" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryRecordGuid" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="true" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryRecordGuid=[FactoryRecord].[FactoryRecordGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryPage">
          <orm:ForeignKey ChildColumn="FactoryPageGuid" ChildTable="FactoryRecord" ChildObject="FactoryRecord" ChildProperty="FactoryPageGuid" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
        <orm:ForeignKeyTable Name="FactoryRecordAction">
          <orm:ForeignKey ChildColumn="FactoryRecordActionGuid" ChildTable="FactoryRecord" ChildObject="FactoryRecord" ChildProperty="FactoryRecordActionGuid" ParentColumn="FactoryRecordActionGuid" ParentTable="FactoryRecordAction" ParentObject="FactoryRecordAction" ParentProperty="FactoryRecordActionGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="FactoryRecord" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryRecordGuid" IsPrimaryKey="true" Column="FactoryRecordGuid" TableName="FactoryRecord" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryPageGuid" IsPrimaryKey="false" Column="FactoryPageGuid" TableName="FactoryRecord" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryRecordTable" IsPrimaryKey="false" Column="FactoryRecordTable" TableName="FactoryRecord" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryRecordActionGuid" IsPrimaryKey="false" Column="FactoryRecordActionGuid" TableName="FactoryRecord" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="2" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryRecordGuid=[FactoryRecord].[FactoryRecordGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryRecord" OriginalName="FactoryRecord" Name="FactoryRecord" JoinStyle="" RightAlias="FactoryRecord" Schema="dbo">
          <orm:BuildColumn Name="FactoryRecordGuid" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="true" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordTable" Column="FactoryRecordTable" Alias="FactoryRecordTable" UseForDesc="true" OriginalName="FactoryRecordTable" Caption="Factory Record Table" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Alias="FactoryRecordActionGuid" UseForDesc="true" OriginalName="FactoryRecordActionGuid" Caption="Factory Record Action" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryRecordGuid" TableName="FactoryRecord" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="true" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryRecord" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordTable" TableName="FactoryRecord" Column="FactoryRecordTable" Alias="FactoryRecordTable" UseForDesc="true" OriginalName="FactoryRecordTable" Caption="Factory Record Table" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordActionGuid" TableName="FactoryRecord" Column="FactoryRecordActionGuid" Alias="FactoryRecordActionGuid" UseForDesc="true" OriginalName="FactoryRecordActionGuid" Caption="Factory Record Action" Ordinal="4" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRecord" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="3" ChildSPSet="FactoryItem" TempTableName="FactoryItem" ChildFlag="1" ChildName="FactoryItem">
        <orm:WhereClause Clause="@FactoryRecordGuid=[FactoryItem].[FactoryRecordGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryItem" OriginalName="FactoryItem" Name="FactoryItem" JoinStyle="" RightAlias="FactoryItem" Schema="dbo">
          <orm:BuildColumn Name="FactoryItemGuid" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryRecordGuid" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="false" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryItemName" Column="FactoryItemName" Alias="FactoryItemName" UseForDesc="true" OriginalName="FactoryItemName" Caption="Factory Item Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="ItemField" Column="ItemField" Alias="ItemField" UseForDesc="false" OriginalName="ItemField" Caption="Item Field" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryRecordGuid" ChildTable="FactoryItem" ChildAlias="FactoryItem" ChildObject="FactoryItem" ChildProperty="FactoryRecordGuid" ParentColumn="FactoryRecordGuid" ParentTable="FactoryRecord" ParentAlias="FactoryRecord" ParentObject="FactoryRecord" ParentProperty="FactoryRecordGuid" />
        <orm:TableColumn Name="FactoryItemGuid" TableName="FactoryItem" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryRecordGuid" TableName="FactoryItem" Column="FactoryRecordGuid" Alias="FactoryRecordGuid" UseForDesc="false" OriginalName="FactoryRecordGuid" Caption="Factory Record" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryItem" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryItemName" TableName="FactoryItem" Column="FactoryItemName" Alias="FactoryItemName" UseForDesc="true" OriginalName="FactoryItemName" Caption="Factory Item Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="ItemField" TableName="FactoryItem" Column="ItemField" Alias="ItemField" UseForDesc="false" OriginalName="ItemField" Caption="Item Field" Ordinal="5" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItem" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_FactoryRecord" Task="Create">
        <orm:RunSPParam Name="FactoryRecordGuid" Column="FactoryRecordGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryRecordTable" Column="FactoryRecordTable" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_FactoryRecord" Task="Retrieve">
        <orm:RunSPParam Name="FactoryRecordGuid" Column="FactoryRecordGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_FactoryPage_FactoryRecord" Task="RetrieveChild" TempParentTableName="FactoryPage" TempChildTableName="FactoryRecord" ParentObjectName="FactoryPage" ForeignKeyName="FactoryPage">
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_FactoryRecordAction_FactoryRecord" Task="RetrieveChild" TempParentTableName="FactoryRecordAction" TempChildTableName="FactoryRecord" ParentObjectName="FactoryRecordAction" ForeignKeyName="FactoryRecordAction">
        <orm:RunSPParam Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_FactoryRecord" Task="Update">
        <orm:RunSPParam Name="FactoryRecordGuid" Column="FactoryRecordGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryRecordTable" Column="FactoryRecordTable" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryRecordActionGuid" Column="FactoryRecordActionGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_FactoryRecord" Task="Delete">
        <orm:RunSPParam Name="FactoryRecordGuid" Column="FactoryRecordGuid" Table="FactoryRecord" OriginalTable="FactoryRecord" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_FactoryRecord" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="FactoryChoice" ObjectName="FactoryChoice" TableName="FactoryChoice" OriginalName="FactoryChoice" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="true" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryChoiceGuid=[FactoryChoice].[FactoryChoiceGuid]" />
      <orm:ForeignKeyTables>
        <orm:ForeignKeyTable Name="FactoryPage">
          <orm:ForeignKey ChildColumn="FactoryPageGuid" ChildTable="FactoryChoice" ChildObject="FactoryChoice" ChildProperty="FactoryPageGuid" ParentColumn="FactoryPageGuid" ParentTable="FactoryPage" ParentObject="FactoryPage" ParentProperty="FactoryPageGuid" Ordinal="0" />
        </orm:ForeignKeyTable>
      </orm:ForeignKeyTables>
      <orm:SetSelect TableName="FactoryChoice" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryChoiceGuid" IsPrimaryKey="true" Column="FactoryChoiceGuid" TableName="FactoryChoice" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryChoiceName" IsPrimaryKey="false" Column="FactoryChoiceName" TableName="FactoryChoice" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="2" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryChoiceGuid=[FactoryChoice].[FactoryChoiceGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryChoice" OriginalName="FactoryChoice" Name="FactoryChoice" JoinStyle="" RightAlias="FactoryChoice" Schema="dbo">
          <orm:BuildColumn Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryChoiceName" Column="FactoryChoiceName" Alias="FactoryChoiceName" UseForDesc="true" OriginalName="FactoryChoiceName" Caption="Factory Choice Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryChoiceGuid" TableName="FactoryChoice" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoice" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryChoice" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="false" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoice" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryChoiceName" TableName="FactoryChoice" Column="FactoryChoiceName" Alias="FactoryChoiceName" UseForDesc="true" OriginalName="FactoryChoiceName" Caption="Factory Choice Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoice" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="FactoryPage" TempTableName="FactoryPage" ChildFlag="1" ChildName="FactoryPage">
        <orm:WhereClause Clause="@FactoryChoiceGuid=[FactoryPage].[FactoryCallingChoiceGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryPage" OriginalName="FactoryPage" Name="FactoryPage" JoinStyle="" RightAlias="FactoryPage" Schema="dbo">
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryGuid" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryCallingChoiceGuid" Column="FactoryCallingChoiceGuid" Alias="FactoryCallingChoiceGuid" UseForDesc="false" OriginalName="FactoryCallingChoiceGuid" Caption="Factory Calling Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageName" Column="FactoryPageName" Alias="FactoryPageName" UseForDesc="true" OriginalName="FactoryPageName" Caption="Factory Page Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Ordinal" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="5" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryCallingChoiceGuid" ChildTable="FactoryPage" ChildAlias="FactoryPage" ChildObject="FactoryPage" ChildProperty="FactoryCallingChoiceGuid" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentAlias="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryPage" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryGuid" TableName="FactoryPage" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryCallingChoiceGuid" TableName="FactoryPage" Column="FactoryCallingChoiceGuid" Alias="FactoryCallingChoiceGuid" UseForDesc="false" OriginalName="FactoryCallingChoiceGuid" Caption="Factory Calling Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageName" TableName="FactoryPage" Column="FactoryPageName" Alias="FactoryPageName" UseForDesc="true" OriginalName="FactoryPageName" Caption="Factory Page Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Ordinal" TableName="FactoryPage" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="5" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="4" ChildSPSet="FactoryItemDefault" TempTableName="FactoryItemDefault" ChildFlag="2" ChildName="FactoryItemDefault">
        <orm:WhereClause Clause="@FactoryChoiceGuid=[FactoryItemDefault].[FactoryChoiceGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryItemDefault" OriginalName="FactoryItemDefault" Name="FactoryItemDefault" JoinStyle="" RightAlias="FactoryItemDefault" Schema="dbo">
          <orm:BuildColumn Name="FactoryItemDetaultGuid" Column="FactoryItemDetaultGuid" Alias="FactoryItemDetaultGuid" UseForDesc="true" OriginalName="FactoryItemDetaultGuid" Caption="Factory Item Detault" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryItemGuid" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Value" Column="Value" Alias="Value" UseForDesc="true" OriginalName="Value" Caption="Value" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryChoiceGuid" ChildTable="FactoryItemDefault" ChildAlias="FactoryItemDefault" ChildObject="FactoryItemDefault" ChildProperty="FactoryChoiceGuid" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentAlias="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" />
        <orm:TableColumn Name="FactoryItemDetaultGuid" TableName="FactoryItemDefault" Column="FactoryItemDetaultGuid" Alias="FactoryItemDetaultGuid" UseForDesc="true" OriginalName="FactoryItemDetaultGuid" Caption="Factory Item Detault" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryItemGuid" TableName="FactoryItemDefault" Column="FactoryItemGuid" Alias="FactoryItemGuid" UseForDesc="true" OriginalName="FactoryItemGuid" Caption="Factory Item" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryChoiceGuid" TableName="FactoryItemDefault" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="true" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Value" TableName="FactoryItemDefault" Column="Value" Alias="Value" UseForDesc="true" OriginalName="Value" Caption="Value" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryItemDefault" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet3" InsertPriority="3" ChildSPSet="FactoryChoiceCulture" TempTableName="FactoryChoiceCulture" ChildFlag="4" ChildName="FactoryChoiceCulture">
        <orm:WhereClause Clause="@FactoryChoiceGuid=[FactoryChoiceCulture].[FactoryChoiceGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryChoiceCulture" OriginalName="FactoryChoiceCulture" Name="FactoryChoiceCulture" JoinStyle="" RightAlias="FactoryChoiceCulture" Schema="dbo">
          <orm:BuildColumn Name="FactoryChoiceCultureGuid" Column="FactoryChoiceCultureGuid" Alias="FactoryChoiceCultureGuid" UseForDesc="true" OriginalName="FactoryChoiceCultureGuid" Caption="Factory Choice Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="false" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryChoiceGuid" ChildTable="FactoryChoiceCulture" ChildAlias="FactoryChoiceCulture" ChildObject="FactoryChoiceCulture" ChildProperty="FactoryChoiceGuid" ParentColumn="FactoryChoiceGuid" ParentTable="FactoryChoice" ParentAlias="FactoryChoice" ParentObject="FactoryChoice" ParentProperty="FactoryChoiceGuid" />
        <orm:TableColumn Name="FactoryChoiceCultureGuid" TableName="FactoryChoiceCulture" Column="FactoryChoiceCultureGuid" Alias="FactoryChoiceCultureGuid" UseForDesc="true" OriginalName="FactoryChoiceCultureGuid" Caption="Factory Choice Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryChoiceGuid" TableName="FactoryChoiceCulture" Column="FactoryChoiceGuid" Alias="FactoryChoiceGuid" UseForDesc="false" OriginalName="FactoryChoiceGuid" Caption="Factory Choice" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="FactoryChoiceCulture" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption" TableName="FactoryChoiceCulture" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="FactoryChoiceCulture" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryChoiceCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_FactoryChoice" Task="Create">
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryChoice" OriginalTable="FactoryChoice" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryChoice" OriginalTable="FactoryChoice" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryChoiceName" Column="FactoryChoiceName" Table="FactoryChoice" OriginalTable="FactoryChoice" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_FactoryChoice" Task="Retrieve">
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryChoice" OriginalTable="FactoryChoice" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectChildren_FactoryPage_FactoryChoice" Task="RetrieveChild" TempParentTableName="FactoryPage" TempChildTableName="FactoryChoice" ParentObjectName="FactoryPage" ForeignKeyName="FactoryPage">
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryChoice" OriginalTable="FactoryChoice" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_FactoryChoice" Task="Update">
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryChoice" OriginalTable="FactoryChoice" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryPageGuid" Column="FactoryPageGuid" Table="FactoryChoice" OriginalTable="FactoryChoice" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryChoiceName" Column="FactoryChoiceName" Table="FactoryChoice" OriginalTable="FactoryChoice" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_FactoryChoice" Task="Delete">
        <orm:RunSPParam Name="FactoryChoiceGuid" Column="FactoryChoiceGuid" Table="FactoryChoice" OriginalTable="FactoryChoice" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_FactoryChoice" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="Factory" ObjectName="Factory" TableName="Factory" OriginalName="Factory" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="true" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="FactoryGuid" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="true" OriginalName="FactoryGuid" Caption="Factory" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@FactoryGuid=[Factory].[FactoryGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="Factory" Schema="dbo">
        <orm:SetSelectColumn Name="FactoryGuid" IsPrimaryKey="true" Column="FactoryGuid" TableName="Factory" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="FactoryName" IsPrimaryKey="false" Column="FactoryName" TableName="Factory" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@FactoryGuid=[Factory].[FactoryGuid]" />
        <orm:BuildTable Ordinal="0" TableName="Factory" OriginalName="Factory" Name="Factory" JoinStyle="" RightAlias="Factory" Schema="dbo">
          <orm:BuildColumn Name="FactoryGuid" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="true" OriginalName="FactoryGuid" Caption="Factory" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryName" Column="FactoryName" Alias="FactoryName" UseForDesc="true" OriginalName="FactoryName" Caption="Factory Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="FactoryGuid" TableName="Factory" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="true" OriginalName="FactoryGuid" Caption="Factory" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Factory" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryName" TableName="Factory" Column="FactoryName" Alias="FactoryName" UseForDesc="true" OriginalName="FactoryName" Caption="Factory Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="Factory" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet1" InsertPriority="1" ChildSPSet="FactoryPage" TempTableName="FactoryPage" ChildFlag="1" ChildName="FactoryPage">
        <orm:WhereClause Clause="@FactoryGuid=[FactoryPage].[FactoryGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryPage" OriginalName="FactoryPage" Name="FactoryPage" JoinStyle="" RightAlias="FactoryPage" Schema="dbo">
          <orm:BuildColumn Name="FactoryPageGuid" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryGuid" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryCallingChoiceGuid" Column="FactoryCallingChoiceGuid" Alias="FactoryCallingChoiceGuid" UseForDesc="false" OriginalName="FactoryCallingChoiceGuid" Caption="Factory Calling Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryPageName" Column="FactoryPageName" Alias="FactoryPageName" UseForDesc="true" OriginalName="FactoryPageName" Caption="Factory Page Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Ordinal" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="5" AllowNulls="true" SQLType="int" NETType="System.Int32" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryGuid" ChildTable="FactoryPage" ChildAlias="FactoryPage" ChildObject="FactoryPage" ChildProperty="FactoryGuid" ParentColumn="FactoryGuid" ParentTable="Factory" ParentAlias="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" />
        <orm:TableColumn Name="FactoryPageGuid" TableName="FactoryPage" Column="FactoryPageGuid" Alias="FactoryPageGuid" UseForDesc="true" OriginalName="FactoryPageGuid" Caption="Factory Page" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryGuid" TableName="FactoryPage" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryCallingChoiceGuid" TableName="FactoryPage" Column="FactoryCallingChoiceGuid" Alias="FactoryCallingChoiceGuid" UseForDesc="false" OriginalName="FactoryCallingChoiceGuid" Caption="Factory Calling Choice" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryPageName" TableName="FactoryPage" Column="FactoryPageName" Alias="FactoryPageName" UseForDesc="true" OriginalName="FactoryPageName" Caption="Factory Page Name" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Ordinal" TableName="FactoryPage" Column="Ordinal" Alias="Ordinal" UseForDesc="false" OriginalName="Ordinal" Caption="Ordinal" Ordinal="5" AllowNulls="true" SQLType="int" NETType="System.Int32" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryPage" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet2" InsertPriority="3" ChildSPSet="FactoryRole" TempTableName="FactoryRole" ChildFlag="2" ChildName="FactoryRole">
        <orm:WhereClause Clause="@FactoryGuid=[FactoryRole].[FactoryGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryRole" OriginalName="FactoryRole" Name="FactoryRole" JoinStyle="" RightAlias="FactoryRole" Schema="dbo">
          <orm:BuildColumn Name="FactoryRoleGuid" Column="FactoryRoleGuid" Alias="FactoryRoleGuid" UseForDesc="true" OriginalName="FactoryRoleGuid" Caption="Factory Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryGuid" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="true" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="RoleGuid" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CanRun" Column="CanRun" Alias="CanRun" UseForDesc="true" OriginalName="CanRun" Caption="Can Run" Ordinal="4" AllowNulls="false" SQLType="bit" NETType="System.Boolean" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryGuid" ChildTable="FactoryRole" ChildAlias="FactoryRole" ChildObject="FactoryRole" ChildProperty="FactoryGuid" ParentColumn="FactoryGuid" ParentTable="Factory" ParentAlias="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" />
        <orm:TableColumn Name="FactoryRoleGuid" TableName="FactoryRole" Column="FactoryRoleGuid" Alias="FactoryRoleGuid" UseForDesc="true" OriginalName="FactoryRoleGuid" Caption="Factory Role" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRole" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryGuid" TableName="FactoryRole" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="true" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRole" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="RoleGuid" TableName="FactoryRole" Column="RoleGuid" Alias="RoleGuid" UseForDesc="true" OriginalName="RoleGuid" Caption="Role" Ordinal="3" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRole" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CanRun" TableName="FactoryRole" Column="CanRun" Alias="CanRun" UseForDesc="true" OriginalName="CanRun" Caption="Can Run" Ordinal="4" AllowNulls="false" SQLType="bit" NETType="System.Boolean" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryRole" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:BuildRecordset Name="RecSet3" InsertPriority="1" ChildSPSet="FactoryCulture" TempTableName="FactoryCulture" ChildFlag="4" ChildName="FactoryCulture">
        <orm:WhereClause Clause="@FactoryGuid=[FactoryCulture].[FactoryGuid]" />
        <orm:BuildTable Ordinal="0" TableName="FactoryCulture" OriginalName="FactoryCulture" Name="FactoryCulture" JoinStyle="" RightAlias="FactoryCulture" Schema="dbo">
          <orm:BuildColumn Name="FactoryCultureGuid" Column="FactoryCultureGuid" Alias="FactoryCultureGuid" UseForDesc="true" OriginalName="FactoryCultureGuid" Caption="Factory Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="FactoryGuid" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="CultureId" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Caption" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="Description" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:ChildKey ChildColumn="FactoryGuid" ChildTable="FactoryCulture" ChildAlias="FactoryCulture" ChildObject="FactoryCulture" ChildProperty="FactoryGuid" ParentColumn="FactoryGuid" ParentTable="Factory" ParentAlias="Factory" ParentObject="Factory" ParentProperty="FactoryGuid" />
        <orm:TableColumn Name="FactoryCultureGuid" TableName="FactoryCulture" Column="FactoryCultureGuid" Alias="FactoryCultureGuid" UseForDesc="true" OriginalName="FactoryCultureGuid" Caption="Factory Culture" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="FactoryGuid" TableName="FactoryCulture" Column="FactoryGuid" Alias="FactoryGuid" UseForDesc="false" OriginalName="FactoryGuid" Caption="Factory" Ordinal="2" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="CultureId" TableName="FactoryCulture" Column="CultureId" Alias="CultureId" UseForDesc="false" OriginalName="CultureId" Caption="Culture Id" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="10" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Caption" TableName="FactoryCulture" Column="Caption" Alias="Caption" UseForDesc="false" OriginalName="Caption" Caption="Caption" Ordinal="4" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="100" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="Description" TableName="FactoryCulture" Column="Description" Alias="Description" UseForDesc="true" OriginalName="Description" Caption="Description" Ordinal="5" AllowNulls="true" SQLType="nvarchar" NETType="System.String" MaxLength="255" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="FactoryCulture" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_Factory" Task="Create">
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="Factory" OriginalTable="Factory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryName" Column="FactoryName" Table="Factory" OriginalTable="Factory" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_Factory" Task="Retrieve">
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="Factory" OriginalTable="Factory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_Factory" Task="Update">
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="Factory" OriginalTable="Factory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="FactoryName" Column="FactoryName" Table="Factory" OriginalTable="Factory" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_Factory" Task="Delete">
        <orm:RunSPParam Name="FactoryGuid" Column="FactoryGuid" Table="Factory" OriginalTable="Factory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_Factory" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="SearchCategory" ObjectName="SearchCategory" TableName="SearchCategory" OriginalName="SearchCategory" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="SearchCategoryGuid" Column="SearchCategoryGuid" Alias="SearchCategoryGuid" UseForDesc="true" OriginalName="SearchCategoryGuid" Caption="Search Category" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@SearchCategoryGuid=[SearchCategory].[SearchCategoryGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="SearchCategory" Schema="dbo">
        <orm:SetSelectColumn Name="SearchCategoryGuid" IsPrimaryKey="true" Column="SearchCategoryGuid" TableName="SearchCategory" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="SearchCategoryResourceName" IsPrimaryKey="false" Column="SearchCategoryResourceName" TableName="SearchCategory" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@SearchCategoryGuid=[SearchCategory].[SearchCategoryGuid]" />
        <orm:BuildTable Ordinal="0" TableName="SearchCategory" OriginalName="SearchCategory" Name="SearchCategory" JoinStyle="" RightAlias="SearchCategory" Schema="dbo">
          <orm:BuildColumn Name="SearchCategoryGuid" Column="SearchCategoryGuid" Alias="SearchCategoryGuid" UseForDesc="true" OriginalName="SearchCategoryGuid" Caption="Search Category" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="SearchCategoryResourceName" Column="SearchCategoryResourceName" Alias="SearchCategoryResourceName" UseForDesc="true" OriginalName="SearchCategoryResourceName" Caption="Search Category Resource Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="SearchCategoryGuid" TableName="SearchCategory" Column="SearchCategoryGuid" Alias="SearchCategoryGuid" UseForDesc="true" OriginalName="SearchCategoryGuid" Caption="Search Category" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="SearchCategory" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="SearchCategoryResourceName" TableName="SearchCategory" Column="SearchCategoryResourceName" Alias="SearchCategoryResourceName" UseForDesc="true" OriginalName="SearchCategoryResourceName" Caption="Search Category Resource Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="SearchCategory" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_SearchCategory" Task="Create">
        <orm:RunSPParam Name="SearchCategoryGuid" Column="SearchCategoryGuid" Table="SearchCategory" OriginalTable="SearchCategory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="SearchCategoryResourceName" Column="SearchCategoryResourceName" Table="SearchCategory" OriginalTable="SearchCategory" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_SearchCategory" Task="Retrieve">
        <orm:RunSPParam Name="SearchCategoryGuid" Column="SearchCategoryGuid" Table="SearchCategory" OriginalTable="SearchCategory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_SearchCategory" Task="Update">
        <orm:RunSPParam Name="SearchCategoryGuid" Column="SearchCategoryGuid" Table="SearchCategory" OriginalTable="SearchCategory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="SearchCategoryResourceName" Column="SearchCategoryResourceName" Table="SearchCategory" OriginalTable="SearchCategory" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_SearchCategory" Task="Delete">
        <orm:RunSPParam Name="SearchCategoryGuid" Column="SearchCategoryGuid" Table="SearchCategory" OriginalTable="SearchCategory" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_SearchCategory" Task="SetSelect" />
    </orm:SPSet>
    <orm:SPSet Name="SearchCriteria" ObjectName="SearchCriteria" TableName="SearchCriteria" OriginalName="SearchCriteria" Generate="CRUDS" NoGenStoredProc="false" Schema="dbo" IsChild="false" IsParent="false" IsMultiParentChild="false">
      <orm:RetrieveParameter Name="SearchCriteriaGuid" Column="SearchCriteriaGuid" Alias="SearchCriteriaGuid" UseForDesc="true" OriginalName="SearchCriteriaGuid" Caption="Search Criteria" Ordinal="0" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
      <orm:WhereClause Clause="@SearchCriteriaGuid=[SearchCriteria].[SearchCriteriaGuid]" />
      <orm:ForeignKeyTables />
      <orm:SetSelect TableName="SearchCriteria" Schema="dbo">
        <orm:SetSelectColumn Name="SearchCriteriaGuid" IsPrimaryKey="true" Column="SearchCriteriaGuid" TableName="SearchCriteria" SQLType="uniqueidentifier" BaseNETType="System.Guid" NETType="System.Guid" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="SearchCriteriasResourceName" IsPrimaryKey="false" Column="SearchCriteriasResourceName" TableName="SearchCriteria" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
        <orm:SetSelectColumn Name="SearchCriteriaMethodName" IsPrimaryKey="false" Column="SearchCriteriaMethodName" TableName="SearchCriteria" SQLType="nvarchar" BaseNETType="System.String" NETType="System.String" IsAutoIncrement="false" />
      </orm:SetSelect>
      <orm:BuildRecordset Name="RecSet" InsertPriority="0" ChildFlag="0" ChildName="">
        <orm:WhereClause Clause="@SearchCriteriaGuid=[SearchCriteria].[SearchCriteriaGuid]" />
        <orm:BuildTable Ordinal="0" TableName="SearchCriteria" OriginalName="SearchCriteria" Name="SearchCriteria" JoinStyle="" RightAlias="SearchCriteria" Schema="dbo">
          <orm:BuildColumn Name="SearchCriteriaGuid" Column="SearchCriteriaGuid" Alias="SearchCriteriaGuid" UseForDesc="true" OriginalName="SearchCriteriaGuid" Caption="Search Criteria" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="SearchCriteriasResourceName" Column="SearchCriteriasResourceName" Alias="SearchCriteriasResourceName" UseForDesc="true" OriginalName="SearchCriteriasResourceName" Caption="Search Criterias Resource Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
          <orm:BuildColumn Name="SearchCriteriaMethodName" Column="SearchCriteriaMethodName" Alias="SearchCriteriaMethodName" UseForDesc="true" OriginalName="SearchCriteriaMethodName" Caption="Search Criteria Method Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" />
        </orm:BuildTable>
        <orm:TableColumn Name="SearchCriteriaGuid" TableName="SearchCriteria" Column="SearchCriteriaGuid" Alias="SearchCriteriaGuid" UseForDesc="true" OriginalName="SearchCriteriaGuid" Caption="Search Criteria" Ordinal="1" AllowNulls="false" SQLType="uniqueidentifier" NETType="System.Guid" MaxLength="0" IsPrimaryKey="true" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="SearchCriteria" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="SearchCriteriasResourceName" TableName="SearchCriteria" Column="SearchCriteriasResourceName" Alias="SearchCriteriasResourceName" UseForDesc="true" OriginalName="SearchCriteriasResourceName" Caption="Search Criterias Resource Name" Ordinal="2" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="SearchCriteria" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
        <orm:TableColumn Name="SearchCriteriaMethodName" TableName="SearchCriteria" Column="SearchCriteriaMethodName" Alias="SearchCriteriaMethodName" UseForDesc="true" OriginalName="SearchCriteriaMethodName" Caption="Search Criteria Method Name" Ordinal="3" AllowNulls="false" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" UDTCatalog="" UDTOwner="" UDTName="" IsAutoIncrement="false" IsComputed="false" Precision="0" Scale="0" Schema="dbo" TableAlias="SearchCriteria" JoinBaseRootKey="false" JoinBaseLeafKey="false" />
      </orm:BuildRecordset>
      <orm:RunSP Name="Insert_SearchCriteria" Task="Create">
        <orm:RunSPParam Name="SearchCriteriaGuid" Column="SearchCriteriaGuid" Table="SearchCriteria" OriginalTable="SearchCriteria" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="SearchCriteriasResourceName" Column="SearchCriteriasResourceName" Table="SearchCriteria" OriginalTable="SearchCriteria" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="SearchCriteriaMethodName" Column="SearchCriteriaMethodName" Table="SearchCriteria" OriginalTable="SearchCriteria" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Select_SearchCriteria" Task="Retrieve">
        <orm:RunSPParam Name="SearchCriteriaGuid" Column="SearchCriteriaGuid" Table="SearchCriteria" OriginalTable="SearchCriteria" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Update_SearchCriteria" Task="Update">
        <orm:RunSPParam Name="SearchCriteriaGuid" Column="SearchCriteriaGuid" Table="SearchCriteria" OriginalTable="SearchCriteria" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="SearchCriteriasResourceName" Column="SearchCriteriasResourceName" Table="SearchCriteria" OriginalTable="SearchCriteria" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
        <orm:RunSPParam Name="SearchCriteriaMethodName" Column="SearchCriteriaMethodName" Table="SearchCriteria" OriginalTable="SearchCriteria" SQLType="nvarchar" NETType="System.String" MaxLength="50" IsPrimaryKey="false" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="Delete_SearchCriteria" Task="Delete">
        <orm:RunSPParam Name="SearchCriteriaGuid" Column="SearchCriteriaGuid" Table="SearchCriteria" OriginalTable="SearchCriteria" SQLType="uniqueidentifier" NETType="System.Guid" IsPrimaryKey="true" IsAutoIncrement="false" AllowNulls="false" />
      </orm:RunSP>
      <orm:RunSP Name="SelectAll_SearchCriteria" Task="SetSelect" />
    </orm:SPSet>
  </orm:Build>
</orm:MappingRoot>